2023-01-09 06:01:01 +00:00
|
|
|
hashes: build
|
2023-01-09 06:11:44 +00:00
|
|
|
sha256sum gospt
|
2023-01-09 06:01:01 +00:00
|
|
|
|
|
|
|
srcinfo:
|
2023-01-09 06:33:30 +00:00
|
|
|
cd aur && makepkg -g >> PKGBUILD
|
2023-01-09 06:01:01 +00:00
|
|
|
|
2023-01-07 07:42:00 +00:00
|
|
|
build:
|
2023-01-09 23:52:21 +00:00
|
|
|
mkdir -p bin
|
|
|
|
go build -o ./bin/gospt .
|
|
|
|
|
|
|
|
completions:
|
|
|
|
mkdir -p completions
|
|
|
|
bin/gospt completion zsh > completions/_gospt
|
|
|
|
bin/gospt completion bash > completions/gospt
|
|
|
|
bin/gospt completion fish > completions/gospt.fish
|
2023-01-07 07:42:00 +00:00
|
|
|
|
|
|
|
run:
|
|
|
|
go run main.go
|
|
|
|
|
|
|
|
tidy:
|
|
|
|
go mod tidy
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -rf bin
|
2023-01-09 23:52:21 +00:00
|
|
|
rm -rf completions
|
2023-01-07 07:42:00 +00:00
|
|
|
|
|
|
|
uninstall:
|
2023-01-09 23:52:21 +00:00
|
|
|
rm -f /usr/bin/gospt
|
|
|
|
rm /usr/share/zsh/site-functions/_gospt
|
2023-01-07 07:42:00 +00:00
|
|
|
|
|
|
|
install:
|
2023-01-09 23:52:21 +00:00
|
|
|
cp bin/gospt /usr/bin
|
|
|
|
cp completions/_gospt /usr/share/zsh/site-functions/_gospt
|
|
|
|
cp completions/gospt /usr/share/bash-completion/completions/gospt
|
|
|
|
cp completions/gospt.fish /usr/share/fish/vendor_completions.d/gospt.fish
|