diff --git a/.github/workflows/build.sh b/.github/workflows/build.sh index 7a03ac1..04c9314 100755 --- a/.github/workflows/build.sh +++ b/.github/workflows/build.sh @@ -1,11 +1,8 @@ bash .github/workflows/setup.sh pwd cd lib -ls wasm-pack build --target web -ls cd .. -ls rm -r dist mkdir dist cp src/index.html dist/index.html diff --git a/.github/workflows/setup.sh b/.github/workflows/setup.sh index 17170ec..391bc20 100755 --- a/.github/workflows/setup.sh +++ b/.github/workflows/setup.sh @@ -1,4 +1,4 @@ rustup update rustup default stable rustup target add wasm32-unknown-unknown -wasm-pack build --target web \ No newline at end of file +cargo install wasm-pack \ No newline at end of file