gospt/Makefile

27 lines
309 B
Makefile
Raw Normal View History

2023-01-07 07:42:00 +00:00
BINARY_NAME=gospt
2023-01-09 06:01:01 +00:00
hashes: build
sha256sum bin/gospt
srcinfo:
cd aur && makepkg --printsrcinfo > .SRCINFO
2023-01-07 07:42:00 +00:00
build:
2023-01-09 06:08:20 +00:00
go build -o bin/${BINARY_NAME}
2023-01-07 07:42:00 +00: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