git ssb

0+

Grey the earthling / gkn.me.uk



Commit 33f0213d37fc0591148824bb3a792e0b8cba2376

Reword make status to check-publish

Grey Nicholson committed on 5/12/2022, 12:36:37 AM
Parent: a31b7da9cc9b7f1869d6290b6810dc5f194df889

Files changed

Makefilechanged
MakefileView
@@ -1,5 +1,5 @@
1-.PHONY: lint status publish serve
1 +.PHONY: lint check-publish publish serve
22
33 output: $(shell find content static) .cache/generator .cache/lint
44 python generator/generate.py
55 touch $@
@@ -21,9 +21,9 @@
2121 .cache/lint: $(shell find static/style)
2222 toolbox run npx -y prettier -w static/style/tarazed.css
2323 touch $@
2424
25-status:
25 +check-publish:
2626 ifeq "${SSHUSER}" ""
2727 @echo "SSHUSER is undefined"
2828 @exit 1
2929 else ifeq "${SSHPASS}" ""
@@ -40,9 +40,9 @@
4040 @git status --porcelain
4141 @exit 1
4242 endif
4343
44-publish: status .cache/publish
44 +publish: check-publish .cache/publish
4545
4646 .cache/publish: output
4747 echo -e "cd ${SSHDIR} \n put -r output/* \n exit" | \
4848 sshpass -e sftp -oBatchMode=no -b - sftp://${SSHUSER}@gkn.me.uk:${SSHPORT}

Built with git-ssb-web