2023-09-11 22:38:24 +00:00
|
|
|
.PHONY: *
|
|
|
|
|
|
|
|
build:
|
|
|
|
./build.py
|
2023-09-17 05:01:01 +00:00
|
|
|
pagefind --site out/
|
|
|
|
|
|
|
|
clean:
|
|
|
|
test -e out && rm -rf out
|
2023-09-11 22:38:24 +00:00
|
|
|
|
|
|
|
watch:
|
2023-09-20 03:32:45 +00:00
|
|
|
while inotifywait -r -e modify -e move -e create -e delete build.py Makefile src/; do make build; done
|
2023-09-11 22:38:24 +00:00
|
|
|
|
|
|
|
serve:
|
|
|
|
python -m http.server --directory out/
|
2023-09-12 03:07:12 +00:00
|
|
|
|
|
|
|
publish:
|
|
|
|
rsync -av out/* ssh.alogoulogoi.com:/srv/www.alogoulogoi.com
|