From 3a58246acb56440ac80e836671b9ecb78c37e593 Mon Sep 17 00:00:00 2001 From: Kevin Midboe Date: Sun, 9 Jul 2023 22:41:53 +0200 Subject: [PATCH] Makefile for install, build & serve w/ livereload --- Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..9085036 --- /dev/null +++ b/Makefile @@ -0,0 +1,23 @@ +default: install + +all: install build + +h help: + @grep '^[a-z]' Makefile + +install: + bundle config --local path vendor/bundle + bundle install + +s serve: + bundle exec jekyll serve --trace --livereload + +build: + JEKYLL_ENV=production bundle exec jekyll build --trace + +upgrade: + bundle update + +build-dev: + bundle exec jekyll build +