gospt/Makefile

27 lines
301 B
Makefile
Raw Normal View History

2023-01-06 23:42:00 -08:00
BINARY_NAME=gospt
2023-01-08 22:01:01 -08:00
hashes: build
2023-01-08 22:11:44 -08:00
sha256sum gospt
2023-01-08 22:01:01 -08:00
srcinfo:
cd aur && makepkg --printsrcinfo > .SRCINFO
2023-01-06 23:42:00 -08:00
build:
2023-01-08 22:11:44 -08:00
go build -o ${BINARY_NAME}
2023-01-06 23:42:00 -08:00
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