diff options
author | davidovski <david@davidovski.xyz> | 2024-04-21 22:46:25 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2024-04-21 22:46:25 +0100 |
commit | 39b86eddf0404d9fd39a32724e47fd54629189a5 (patch) | |
tree | efda9cea5f44231aab18b346193c2f78a4283e30 /Makefile | |
parent | bc09e485e6981e5b4943161b5a9d410ac179eb4a (diff) |
do not let items place ontop of each other
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..52cc8cc --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +wasm-serve: + go run github.com/hajimehoshi/wasmserve@latest . + +target-wasm: html/index.html + mkdir -p out + env GOOS=js GOARCH=wasm go build -o out/main.wasm . + cp html/index.html out/ + cp /usr/lib/go/misc/wasm/wasm_exec.js out/ + cp -r assets out/ + +clean: + rm -rf out + rm -rf go.sum |