gospt/Makefile
jjohnstondev 3e01db590b
Some checks failed
continuous-integration/drone/push Build is failing
aur stuff
2023-01-08 22:01:01 -08:00

27 lines
341 B
Makefile

BINARY_NAME=gospt
hashes: build
sha256sum bin/gospt
srcinfo:
cd aur && makepkg --printsrcinfo > .SRCINFO
build:
GOARCH=amd64 GOOS=linux go build -o bin/${BINARY_NAME} main.go
run:
go run main.go
tidy:
go mod tidy
clean:
rm -rf bin
uninstall:
rm -f /usr/local/bin/${BINARY_NAME}
install:
cp bin/${BINARY_NAME} /usr/local/bin