projects
/
thefekete.net.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
644f8f0
)
adds view make target
author
Daniel <thefekete@gmail.com>
Mon, 22 Jun 2020 23:58:46 +0000
(
01:58
+0200)
committer
Daniel <thefekete@gmail.com>
Mon, 22 Jun 2020 23:58:46 +0000
(
01:58
+0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
3263c27
..
8b9558d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,6
@@
-.PHONY: publish
+view:
+ xdg-open index.html
+
publish:
@git diff-index --quiet HEAD -- && test -z "$(git ls-files --others)" || ( \
1>&2 echo "Index is dirty or there are uncommitted files!"; \
@@
-7,3
+9,5
@@
publish:
)
git archive --format=tgz HEAD \
| ssh root@thefekete.net "cd /var/www/thefekete.net && tar zxvf -"
+
+.PHONY: publish view