1 parent
f000afaa42
commit
e800984e8f
3 files changed
+15
-3
No files matched your search
@@ -1,11 +1,11 @@
|
||||
.PHONY: all default install test build release clean
|
||||
VERSION := $(shell git rev-list --count master)
|
||||
LDFLAGS=-ldflags '-s -w -X main.version=2.${VERSION}'
|
||||
LDFLAGS=-ldflags '-s -w -X main.version=3.${VERSION}'
|
||||
GOFILES := $(shell ls *.go | grep -v /vendor/)
|
||||
ARCH=$(shell uname -m)
|
||||
PKGNAME=yay
|
||||
|
||||
PACKAGE=${PKGNAME}_2.${VERSION}_${ARCH}
|
||||
PACKAGE=${PKGNAME}_3.${VERSION}_${ARCH}
|
||||
|
||||
default: build
|
||||
|
||||
|
||||
Reference in new issue
Block a user