19 lines
367 B
Makefile
19 lines
367 B
Makefile
|
.PHONY: ruby
|
||
|
ruby:
|
||
|
@ if [ ! $$(which ruby) ]; then \
|
||
|
echo "Please install ruby version 2.1.0 or higher"; \
|
||
|
fi
|
||
|
|
||
|
.PHONY: bundle
|
||
|
bundle: ruby
|
||
|
@ if [ ! $$(which bundle) ]; then \
|
||
|
echo "Please install bundle: `gem install bundler`"; \
|
||
|
fi
|
||
|
|
||
|
vendor/bundle: bundle
|
||
|
bundle install --path vendor/bundle
|
||
|
|
||
|
.PHONY: serve
|
||
|
serve: vendor/bundle
|
||
|
bundle exec jekyll serve
|