Adjust the Makefile to always use bundle exec so I can avoid RVM
bundle config set path vendor bundle install blammo
This commit is contained in:
parent
7ec514b4b0
commit
32bc0c0430
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,3 +4,5 @@ _site
|
||||
Gemfile.lock
|
||||
_drafts
|
||||
.jekyll-cache/
|
||||
.bundle/
|
||||
vendor/
|
||||
|
11
Makefile
11
Makefile
@ -1,19 +1,22 @@
|
||||
|
||||
JEKYLL=bundle exec jekyll
|
||||
|
||||
|
||||
all:
|
||||
LANG="en_US.UTF-8" jekyll build
|
||||
LANG="en_US.UTF-8" $(JEKYLL) build
|
||||
|
||||
drafts: tags
|
||||
LANG="en_US.UTF-8" jekyll serve --drafts --incremental
|
||||
LANG="en_US.UTF-8" $(JEKYLL) serve --drafts --incremental
|
||||
|
||||
run: tags
|
||||
rm -rf _site && jekyll serve --drafts --future --watch --incremental --limit-posts 20
|
||||
rm -rf _site && $(JEKYLL) serve --drafts --future --watch --incremental --limit-posts 20
|
||||
|
||||
tags:
|
||||
./generate-tags
|
||||
|
||||
publish: tags
|
||||
find files -iname "*.png" -type f -exec pngcrush -ow -noforce -reduce {} \;
|
||||
jekyll build
|
||||
$(JEKYLL) build
|
||||
|
||||
.PHONY: all drafts tags publish microblog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user