update at 2019-10-04 13:06:18 by ehlxr

This commit is contained in:
ehlxr 2019-10-04 13:06:18 +08:00
parent ae6164c0ff
commit daee642670

View File

@ -1,7 +1,7 @@
BUILD_VERSION := $(shell cat version) BUILD_VERSION := $(shell cat version)
BUILD_TIME := $(shell date "+%F %T") BUILD_TIME := $(shell date "+%F %T")
COMMIT_SHA1 := $(shell git rev-parse HEAD) COMMIT_SHA1 := $(shell git rev-parse HEAD)
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/ ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
DIST_DIR := $(ROOT_DIR)/dist/ DIST_DIR := $(ROOT_DIR)/dist/
VERSION_PATH := $(shell cat `go env GOMOD` | awk '/^module/{print $$2}')/metadata VERSION_PATH := $(shell cat `go env GOMOD` | awk '/^module/{print $$2}')/metadata