wallhaven_dl/Makefile

21 lines
316 B
Makefile
Raw Normal View History

2023-10-17 18:33:29 +00:00
build: wallhaven_dl
wallhaven_dl: $(shell find . -name '*.go')
go build -o wallhaven_dl .
run:
go run main.go
tidy:
go mod tidy
clean:
rm -f wallhaven_dl
uninstall:
rm -f /usr/bin/wallhaven_dl
install:
cp wallhaven_dl /usr/bin
2023-10-22 21:40:26 +00:00
./wallhaven_dl completion zsh > /usr/share/zsh/site-functions/_wallhaven_dl