Skip to content

Commit b72e686

Browse files
devcontainer setup
1 parent ef94ffd commit b72e686

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"postCreateCommand": "/workspaces/wasm-git/.devcontainer/post-create.sh",
3+
"customizations": {
4+
"vscode": {
5+
"extensions": []
6+
}
7+
}
8+
}

.devcontainer/post-create.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
npm install
4+
sh setup.sh
5+
6+
git clone https://github.com/emscripten-core/emsdk.git
7+
cd emsdk
8+
git pull
9+
./emsdk install latest
10+
./emsdk activate latest
11+
cd ..

0 commit comments

Comments
 (0)