Skip to content

Commit

Permalink
Merge pull request #26 from byeongkeunahn/short-4
Browse files Browse the repository at this point in the history
Update VS Code task + Change python -> python3
  • Loading branch information
byeongkeunahn authored Nov 30, 2023
2 parents 9f987b4 + 5e9b73a commit 872afa8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
"$rustc"
],
},
{
"label": "build-release-amd64-short-submit",
"type": "shell",
"command": "mkdir -p ./target/x86_64-unknown-linux-gnu-short/release; ./release.sh --features short > ./target/x86_64-unknown-linux-gnu-short/release/loader.c; code --reuse-window ./target/x86_64-unknown-linux-gnu-short/release/loader.c",
"problemMatcher": [
"$rustc"
],
},
{
"label": "build-release-amd64-rs-submit",
"type": "shell",
Expand Down
2 changes: 1 addition & 1 deletion release-html.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
>&2 echo "Building project for target wasm32-unknown-unknown, language JavaScript, build mode Release"
cargo +nightly build --target wasm32-unknown-unknown --bin=basm-submit --release "$@"
python scripts/wasm-gen.py scripts/wasm-template.html
python3 scripts/wasm-gen.py scripts/wasm-template.html
2 changes: 1 addition & 1 deletion release-wasm32.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
>&2 echo "Building project for target wasm32-unknown-unknown, language JavaScript, build mode Release"
cargo +nightly build --target wasm32-unknown-unknown --bin=basm-submit --release "$@"
python scripts/wasm-gen.py scripts/wasm-template.js
python3 scripts/wasm-gen.py scripts/wasm-template.js

0 comments on commit 872afa8

Please sign in to comment.