summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-07-02 20:04:59 -0700
committerFranck Cuny <franckcuny@gmail.com>2016-07-02 20:04:59 -0700
commit8f187c573954b6c8d1650ac33a164c52e032ac16 (patch)
treec605d0cf51d272393006e5486bfdc24984cf801f /Makefile
parentUpdate some posts to make the tests pass. (diff)
downloadlumberjaph-8f187c573954b6c8d1650ac33a164c52e032ac16.tar.gz
Stop using Jekyll.
Moving away from Jekyll to Hugo. This commit clean up the old files to prepare for the migration.
Diffstat (limited to '')
-rw-r--r--Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index e32de9d..fa02b3f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,20 +1,15 @@
-build: clean
- bundle exec jekyll build
-
clean:
- rm -rf _site
+ hugo --cleanDestinationDir
server: clean
- bundle exec jekyll server --port 3001 --watch --drafts
+ hugo serve --buildDrafts --buildFuture
deps:
- bundle install --path vendor/bundle
-
-test: build
- bundle exec htmlproof ./_site --only-4xx --check-html --disable-external
+ brew install hugo
-publish: deps build
+ppublish: deps build
gsutil -m rsync -R _site/ gs://b.lumberjaph.net
gsutil -m acl ch -u AllUsers:R -R gs://b.lumberjaph.net/
gsutil -m web set -m index.html -e 404.html gs://b.lumberjaph.net
+.PHONY: clean server deps publish