Skip to content

Commit

Permalink
change Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Steinke committed Feb 8, 2024
1 parent 650bc3d commit a776ac9
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
build:
GOARCH=wasm GOOS=js go build -o web/app.wasm
cp styles.css web/
go run ./

vim:
GOOS=js GOARCH=wasm nvim

.PHONY: serve
serve: build
go run .
serve:
GOARCH=wasm GOOS=js go build -o web/app.wasm
cp styles.css web/
go run . --serve

0 comments on commit a776ac9

Please sign in to comment.