mirror of
https://github.com/KevinMidboe/schleppe-lab.git
synced 2025-10-29 01:30:39 +00:00
Makefile for install, build & serve w/ livereload
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user