Skip to content

Commit

Permalink
Fixed justfile paths
Browse files Browse the repository at this point in the history
  • Loading branch information
abey79 committed Sep 26, 2023
1 parent 50f5407 commit 80a4c20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ fmt:

web-build:
cargo build -p whiskers-web-demo --lib --target wasm32-unknown-unknown --release
wasm-bindgen target/wasm32-unknown-unknown/release/whiskers_web_demo.wasm --out-dir whiskers-web-demo/web --out-name whiskers_web_demo --no-modules --no-typescript
wasm-bindgen target/wasm32-unknown-unknown/release/whiskers_web_demo.wasm --out-dir crates/whiskers-web-demo/web --out-name whiskers_web_demo --no-modules --no-typescript

web-build-opt: web-build
wasm-opt -Os whiskers-web-demo/web/whiskers_web_demo_bg.wasm -o whiskers-web-demo/web/whiskers_web_demo_bg.wasm
wasm-opt -Os crates/whiskers-web-demo/web/whiskers_web_demo_bg.wasm -o crates7whiskers-web-demo/web/whiskers_web_demo_bg.wasm

web-serve:
basic-http-server whiskers-web-demo/web
basic-http-server crates/whiskers-web-demo/web

test:
cargo test

0 comments on commit 80a4c20

Please sign in to comment.