Skip to content

Commit

Permalink
Add emsdk init for Build Run and Test
Browse files Browse the repository at this point in the history
  • Loading branch information
SavenkovIgor committed Aug 31, 2024
1 parent 06df1c1 commit ab031d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
{
"label": "Build",
"type": "shell",
"command": "source .venv/bin/activate && ./project.py --build --preset ${input:preset}",
"command": "source ~/emsdk/emsdk_env.sh && source .venv/bin/activate && ./project.py --build --preset ${input:preset}",
"problemMatcher": "$msCompile"
},
{
"label": "Run",
"type": "shell",
"command": "source .venv/bin/activate && ./project.py --run --preset ${input:preset}",
"command": "source ~/emsdk/emsdk_env.sh && source .venv/bin/activate && ./project.py --run --preset ${input:preset}",
"problemMatcher": "$msCompile"
},
{
"label": "Test",
"type": "shell",
"command": "source .venv/bin/activate && ./project.py --test --preset ${input:preset}",
"command": "source ~/emsdk/emsdk_env.sh && source .venv/bin/activate && ./project.py --test --preset ${input:preset}",
"problemMatcher": "$msCompile"
},
{
Expand Down

0 comments on commit ab031d9

Please sign in to comment.