diff options
| author | Shulhan <m.shulhan@gmail.com> | 2026-02-04 06:17:55 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2026-04-09 22:18:08 +0700 |
| commit | da9dcca05cea2ab6349e4d2451213fa676fcd3ab (patch) | |
| tree | fe3e44dca0fa4a3e2087f0e8461948af9f6aa18b /Makefile | |
| parent | d0c5be4444ee2c1b8371456adb2f65bf6ef62234 (diff) | |
| download | go-x-proposal-da9dcca05cea2ab6349e4d2451213fa676fcd3ab.tar.xz | |
all: update the command and style to follow latest ciigo
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 |
