main Makefile
Eric Bower  ·  2026-09-15
 1smol:
 2	curl https://pico.sh/smol.css -o ./static/smol.css
 3.PHONY: smol
 4
 5clean:
 6	rm -rf ./public
 7.PHONY: clean
 8
 9img:
10	docker build -t neurosnap/pgit:latest .
11.PHONY: img
12
13static:
14	go run . \
15		--out ./public \
16		--label pgit \
17		--clone-url "https://github.com/picosh/pgit.git" \
18		--issues-url "https://github.com/picosh/pgit/issues" \
19		--contrib-url "https://github.com/picosh/pgit/pulls" \
20		--revs main \
21		--max-commits 10
22.PHONY: static
23
24dev: static
25	rsync -rv --delete ./public/ pgs.sh:/git-pgit-local/
26.PHONY: dev