-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (22 loc) · 736 Bytes
/
Copy pathMakefile
File metadata and controls
29 lines (22 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Local development. Requires Go 1.25+ on your PATH.
# Building the web UI additionally requires Node.js + npm.
.PHONY: build build-go run tidy web release-check release-snapshot
# Build the embedded web UI into internal/server/dist. The output is committed
# so `go build`/`go install` work without a Node toolchain; run this whenever
# the web/ sources change.
web:
npm --prefix web install
npm --prefix web run build
build: web
go build -o tagbackup ./cmd/tagbackup
# Build the Go binary using the already-built (committed) web assets.
build-go:
go build -o tagbackup ./cmd/tagbackup
run:
go run ./cmd/tagbackup
tidy:
go mod tidy
release-check:
goreleaser check
release-snapshot:
goreleaser release --snapshot --clean