mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-10-22 04:32:02 +02:00
Add make targets for serving docs locally
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
.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
|
||||
Reference in New Issue
Block a user