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

Update Makefile

This commit is contained in:
zu1k 2020-07-17 11:59:23 +08:00 committed by GitHub
parent b5f75d069f
commit e1c367107c

View File

@ -1,6 +1,6 @@
NAME=nali NAME=nali
BINDIR=bin BINDIR=bin
VERSION=$(hell git describe --tags || echo "unknown version") VERSION=$(shell git describe --tags || echo "unknown version")
BUILDTIME=$(shell date -u) BUILDTIME=$(shell date -u)
GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/zu1k/nali/constant.Version=$(VERSION)" \ GOBUILD=CGO_ENABLED=0 go build -trimpath -ldflags '-X "github.com/zu1k/nali/constant.Version=$(VERSION)" \
-X "github.com/zu1k/nali/constant.BuildTime=$(BUILDTIME)" \ -X "github.com/zu1k/nali/constant.BuildTime=$(BUILDTIME)" \