Skip to content

Commit

Permalink
strand-cam: fix yew_frontend/build-imops.bat
Browse files Browse the repository at this point in the history
Now the files are copied.
  • Loading branch information
astraw committed May 17, 2024
1 parent b2d988c commit 9519d46
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions strand-cam/yew_frontend/build-imops.bat
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
REM Install wasm-pack from here https://rustwasm.github.io/wasm-pack/installer/

REM This will build the source and place results into a new `pkg` dir
wasm-pack build --target web -- --no-default-features

REM Install grass with: cargo install grass
grass -I ..\..\ads-webasm\scss scss\strand-cam-frontend.scss pkg\style.css

copy static\index.html pkg\index.html
copy static\strand-camera-no-text.png pkg\strand-camera-no-text.png

0 comments on commit 9519d46

Please sign in to comment.