diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2021-08-02 21:25:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 21:25:08 +0000 |
commit | a7bc8de4e77d5c0fb6313d6fc42977543c9df5c4 (patch) | |
tree | 4d74285ded6a2f54a2abb70331f9cfe90d1def4b /.devcontainer | |
parent | a8098903cd39114b4daeae2311f3f517566105d7 (diff) | |
download | libgit2-a7bc8de4e77d5c0fb6313d6fc42977543c9df5c4.tar.gz |
Update VSCode / Github Codespaces workflow
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/devcontainer.json | 2 | ||||
-rwxr-xr-x | .devcontainer/setup.sh | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2731eabd3..bc6344b93 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,3 +1,3 @@ { - "postCreateCommand": "sudo apt-get update && sudo apt-get -y --no-install-recommends install cmake" + "postCreateCommand": "bash .devcontainer/setup.sh" } diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh new file mode 100755 index 000000000..c328bf3b9 --- /dev/null +++ b/.devcontainer/setup.sh @@ -0,0 +1,9 @@ +#!/bin/sh +set -e + +sudo apt-get update +sudo apt-get -y --no-install-recommends install cmake + +mkdir build +cd build +cmake ..
\ No newline at end of file |