summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-10-17 03:47:26 +0100
committerdavidovski <david@davidovski.xyz>2023-10-17 03:47:26 +0100
commit7f912ab41b97bbc6e6167781e863460484bd4a1d (patch)
treef75fa6be762dad64af97a659a3aac5855db194c4 /build.sh
parent59a76335613b836312f03a539e61c00a09b0962d (diff)
make penguin move
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index ae7e042..d057c90 100755
--- a/build.sh
+++ b/build.sh
@@ -8,6 +8,7 @@ cd build
env GOOS=js GOARCH=wasm go build -o $name.wasm ..
cp $(go env GOROOT)/misc/wasm/wasm_exec.js .
cp ../index.html .
+cp -r ../assets .
[ "$1" = "serve" ] && gopherjs serve