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:
R Tyler Croy 2021-03-20 11:22:18 -07:00
parent 7ec514b4b0
commit 32bc0c0430
No known key found for this signature in database
GPG Key ID: E5C92681BEF6CEA2
2 changed files with 9 additions and 4 deletions

2
.gitignore vendored
View File

@ -4,3 +4,5 @@ _site
Gemfile.lock
_drafts
.jekyll-cache/
.bundle/
vendor/

View File

@ -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