summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authoruvok cheetah2024-10-04 18:18:23 +0200
committeruvok cheetah2024-10-04 18:18:23 +0200
commita6308a769b90f506fd1281e805a2bdf9a8706282 (patch)
tree5cacccb3fc505be87a41f9a6b8c8edad100b0e03 /Makefile
parent8d8f2d78e540328d5f16459ab3a8750db9664b21 (diff)
Add ipfs env for single-page
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e12d819..5102e6d 100644
--- a/Makefile
+++ b/Makefile
@@ -15,3 +15,7 @@ make_push_to_server: production
watch:
bundle exec jekyll serve -l --drafts
+ipfs:
+ rm -f ipfs.tar
+ JEKYLL_ENV=ipfs bundle exec jekyll build
+ cd _site && cp all.html index.html && tar cvf ../ipfs.tar $$(grep -L redirect *.html) assets index.html