mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 13:19:02 +08:00
Update Makefile
This commit is contained in:
parent
b5f75d069f
commit
e1c367107c
2
Makefile
2
Makefile
@ -1,6 +1,6 @@
|
||||
NAME=nali
|
||||
BINDIR=bin
|
||||
VERSION=$(hell git describe --tags || echo "unknown version")
|
||||
VERSION=$(shell git describe --tags || echo "unknown version")
|
||||
BUILDTIME=$(shell date -u)
|
||||
GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/zu1k/nali/constant.Version=$(VERSION)" \
|
||||
-X "github.com/zu1k/nali/constant.BuildTime=$(BUILDTIME)" \
|
||||
|
Loading…
Reference in New Issue
Block a user