jx/Makefile

11 lines
147 B
Makefile
Raw Normal View History

2024-03-27 20:46:17 +00:00
LDFLAGS?=--ldflags '-extldflags "-static"'
export CGO_ENABLED=0
2024-04-22 06:24:38 +00:00
build: jx
2024-03-27 20:46:17 +00:00
2024-04-22 06:24:38 +00:00
jx:
go build -o jx $(LDFLAGS) ./cmd/cli/main.go
2024-03-27 23:08:13 +00:00
test:
go test ./...