This commit is contained in:
parent
e4ab1358e9
commit
d1dee7bc3d
8 changed files with 148 additions and 2 deletions
1
Makefile
1
Makefile
|
|
@ -12,6 +12,7 @@ clean:
|
|||
build.wasm:
|
||||
mkdir target/wasm
|
||||
GOOS=js GOARCH=wasm go build -o target/wasm/clocks.wasm ./cmds/clocks
|
||||
GOOS=js GOARCH=wasm go build -o target/wasm/gotemplate.wasm ./cmds/gotemplate
|
||||
cp $(GOROOT)/lib/wasm/wasm_exec.js target/wasm/.
|
||||
|
||||
.Phony: build.site
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue