Skip to content

Commit

Permalink
Change version format and remove linux-arm build
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-K2 committed May 24, 2023
1 parent c40cce6 commit 7943ffd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 7943ffd

Please sign in to comment.