From ab031d966368003ef9d85f2d730f3589b3cd8afd Mon Sep 17 00:00:00 2001 From: Savenkov Igor Date: Sat, 31 Aug 2024 16:30:36 +0300 Subject: [PATCH] Add emsdk init for Build Run and Test --- .vscode/tasks.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 8f91b299..1cb41c32 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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" }, {