Skip to content

Commit

Permalink
improved makefile options
Browse files Browse the repository at this point in the history
  • Loading branch information
leecalcote committed Jan 19, 2019
1 parent 18500eb commit 8787a87
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
jekyll=bundle exec jekyll

site:
$(jekyll) serve --drafts

# With Jekyll Manager interface
site-admin:
ADMIN=on $(jekyll) serve --drafts

build:
$(jekyll) build --drafts

setup:
ADMIN=on bundle install

docker:
docker run --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:3.7.3 bash -c "bundle install; jekyll serve"
docker run --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:3.7.3 bash -c "bundle install; jekyll serve --drafts"

0 comments on commit 8787a87

Please sign in to comment.