summaryrefslogtreecommitdiff
path: root/crates/wipfel/serve-here.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crates/wipfel/serve-here.sh')
-rwxr-xr-xcrates/wipfel/serve-here.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/wipfel/serve-here.sh b/crates/wipfel/serve-here.sh
index 2accdb9..9951829 100755
--- a/crates/wipfel/serve-here.sh
+++ b/crates/wipfel/serve-here.sh
@@ -8,5 +8,8 @@ DIST=/tmp/wipfel-dist
mkdir -p "$DIST"
wasm-bindgen --target web --out-dir "$DIST" target/wasm32-unknown-unknown/release/wipfel.wasm
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 "dist refreshed: $(ls -la "$DIST" | awk '{s+=$5} END {print s" bytes"}')"