From 660d09831ce9fff702e5e74ab63e6db63aa311b2 Mon Sep 17 00:00:00 2001 From: Samuel Bronson Date: Thu, 22 Sep 2022 19:52:20 +0000 Subject: [PATCH 1/2] Add libace to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..99dce2e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +libace From bc9a0dfa5d39b3a5c0277b688e016af2b050dfec Mon Sep 17 00:00:00 2001 From: Samuel Bronson Date: Thu, 22 Sep 2022 21:04:06 +0000 Subject: [PATCH 2/2] Add Gitpod configuration Teach Gitpod to set up a container for shellcheck.net development. This currently uses the distro-provided shellcheck package. It wouldn't be too hard to build from source, but it would take time, and I'm not sure it's worth it. --- .gitpod.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitpod.yml diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..da459e8 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,27 @@ +# See https://www.gitpod.io/docs/multi-repo-workspaces +additionalRepositories: + - url: https://github.com/koalaman/ace + # checkoutLocation is relative to /workspaces + checkoutLocation: ace + +# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/ +tasks: + - env: + # This is used in gitpod's default apache2.conf + APACHE_DOCROOT_IN_REPO: "." + init: | + cd /workspace/ace + npm install + node ./Makefile.dryice.js + + cd ../shellcheck.net + ln -s ../ace/build/src libace + command: | + sudo apt-get update + sudo apt-get install -y shellcheck + apachectl start + +# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/ +ports: + - port: 8001 + onOpen: open-preview