diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -1,13 +1,18 @@ +.PHONY: all +all: build + +.PHONY: build +build: CGO_ENABLED=0 +build: embed + go build ./cmd/www-go-proposal + .PHONY: embed embed: - ciigo -exclude "(cmd|go.mod|go.sum)" \ - -template ./html.tmpl \ - -out cmd/www-go-proposal/memfs.go \ - embed . + go run ./cmd/www-go-proposal embed .PHONY: dev dev: - DEBUG=1 go run ./cmd/www-go-proposal + go run ./cmd/www-go-proposal -dev .PHONY: deploy deploy: embed |
