mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-12-10 11:10:27 +02:00
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
|