Skip to content

Commit

Permalink
chore: move built wasm file to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
abiriadev committed Dec 11, 2023
1 parent 0450494 commit 4070b13
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,10 @@ tasks:
cmds:
- go build -o ./dist/syntaxck.wasm ./wasm/syntaxck
- wasm-opt ./dist/syntaxck.wasm --enable-bulk-memory -Oz -o ./dist/syntaxck.pack.wasm
- mkdir -p ./frontend/public
- cp ./dist/syntaxck.pack.wasm ./frontend/public/syntaxck.pack.wasm
- cp ./dist/syntaxck.pack.wasm ./frontend/src/assets/syntaxck.pack.wasm
sources:
- ./wasm/syntaxck/*.go
generates:
- ./dist/syntaxck.wasm
- ./dist/syntaxck.pack.wasm
- ./frontend/public/syntaxck.pack.wasm
- ./frontend/src/assets/syntaxck.pack.wasm

0 comments on commit 4070b13

Please sign in to comment.