mirror of
https://github.com/aditya-K2/gspt.git
synced 2026-01-07 21:13:50 -05:00
Change version format and remove linux-arm build
This commit is contained in:
6
Makefile
6
Makefile
@@ -11,7 +11,7 @@ BUILD := ${GC} build ${GOFLAGS} ${LDFLAGS} ${VERBOSE}
|
||||
|
||||
.PHONY: gspt install linux-arm64 linux-amd64 darwin-amd64 darwin-arm64 windows-amd64
|
||||
|
||||
all: linux-amd64 linux-arm64 linux-arm darwin-amd64 darwin-arm64 windows-amd64.exe
|
||||
all: linux-amd64 linux-arm64 darwin-amd64 darwin-arm64 windows-amd64.exe
|
||||
|
||||
install: gspt
|
||||
install bin/gspt -t "/usr/bin/"
|
||||
@@ -27,10 +27,6 @@ linux-arm64:
|
||||
GOOS=linux GOARCH=arm64 \
|
||||
${BUILD} -o bin/gspt-linux-arm64
|
||||
|
||||
linux-arm:
|
||||
GOOS=linux GOARCH=arm \
|
||||
${BUILD} -o bin/gspt-linux-arm
|
||||
|
||||
darwin-amd64:
|
||||
GOOS=darwin GOARCH=amd64 \
|
||||
${BUILD} -o bin/gspt-darwin-amd64
|
||||
|
||||
@@ -47,7 +47,7 @@ func ReadConfig() {
|
||||
parseFlags()
|
||||
|
||||
if Flags.Version {
|
||||
fmt.Printf("gspt %s \nBuild Date: %s\n", Version, BuildDate)
|
||||
fmt.Printf("gspt: %s \nBuild Date: %s\n", Version, BuildDate)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user