Skip to content

Commit 8ed5460

Browse files
committed
Add postCreateCommand to devcontainer configuration for building with MSH3_TEST enabled
1 parent 89d3147 commit 8ed5460

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"image": "mcr.microsoft.com/devcontainers/universal:2",
3-
"onCreateCommand": "git submodule update --init --recursive"
3+
"onCreateCommand": "git submodule update --init --recursive",
4+
"postCreateCommand": "mkdir -p build && cd build && cmake -DMSH3_TEST=ON .. && cmake --build . --config Debug"
45
}

0 commit comments

Comments
 (0)