1
0
mirror of https://github.com/zu1k/nali.git synced 2025-01-22 21:29:02 +08:00

Update Makefile

This commit is contained in:
zu1k 2020-07-17 11:59:23 +08:00 committed by GitHub
parent 1dc5b4a494
commit f4552ca0e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)" \