gospt/Makefile
jjohnstondev 76915fe18a
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
drone
2023-01-08 22:08:20 -08:00

27 lines
309 B
Makefile

BINARY_NAME=gospt
hashes: build
sha256sum bin/gospt
srcinfo:
cd aur && makepkg --printsrcinfo > .SRCINFO
build:
go build -o bin/${BINARY_NAME}
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