diff options
Diffstat (limited to 'crates/wipfel/build-release.sh')
| -rwxr-xr-x | crates/wipfel/build-release.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/wipfel/build-release.sh b/crates/wipfel/build-release.sh index 1ee09b7..bf41513 100755 --- a/crates/wipfel/build-release.sh +++ b/crates/wipfel/build-release.sh @@ -16,6 +16,9 @@ wasm-bindgen --remove-name-section --target web --out-dir "$DIST" target/wasm32- # the loader page (not the trunk entry point, which is dev-only) rm -f "$DIST"/wipfel.d.ts "$DIST"/wipfel_bg.wasm.d.ts cp crates/wipfel/www/index.html crates/wipfel/www/style.css "$DIST/" +cp crates/wipfel/www/sw.js crates/wipfel/www/manifest.webmanifest "$DIST/" +mkdir -p "$DIST/icons" +cp crates/wipfel/www/icons/*.png "$DIST/icons/" gzip -9 -n -c gipfel.dat > "$DIST/gipfel.dat.gz" echo "site assembled in $DIST ($(du -sh "$DIST" | cut -f1)):" ls "$DIST" |
