remove hardcode
This commit is contained in:
parent
b5518cac1c
commit
55591c23f6
2
Makefile
2
Makefile
@ -17,7 +17,7 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
NAME = range-gen
|
NAME = $(shell basename $(shell readlink -e .))
|
||||||
VERSION = dev_$(shell date +%F_%T)
|
VERSION = dev_$(shell date +%F_%T)
|
||||||
GOCMD = go
|
GOCMD = go
|
||||||
LDFLAGS := "$(LDFLAGS) -X 'main.Version=$(VERSION)'"
|
LDFLAGS := "$(LDFLAGS) -X 'main.Version=$(VERSION)'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user