11 lines
147 B
Makefile
11 lines
147 B
Makefile
LDFLAGS?=--ldflags '-extldflags "-static"'
|
|
export CGO_ENABLED=0
|
|
|
|
build: jx
|
|
|
|
jx:
|
|
go build -o jx $(LDFLAGS) ./cmd/cli/main.go
|
|
|
|
test:
|
|
go test ./...
|