mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2024-11-30 09:16:52 +02:00
dd36138965
* fix required ruby-version Signed-off-by: mkontani <itoama@live.jp> * add a changelog entry Signed-off-by: mkontani <itoama@live.jp> Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
20 lines
394 B
Makefile
20 lines
394 B
Makefile
.PHONY: ruby
|
|
ruby:
|
|
@ if [ ! $$(which ruby) ]; then \
|
|
echo "Please install ruby version 2.5.0 or higher"; \
|
|
fi
|
|
|
|
.PHONY: bundle
|
|
bundle: ruby
|
|
@ if [ ! $$(which bundle) ]; then \
|
|
echo "Please install bundle: `gem install bundler`"; \
|
|
fi
|
|
|
|
vendor/bundle: bundle
|
|
bundle config set --local path 'vendor/bundle'
|
|
bundle install
|
|
|
|
.PHONY: serve
|
|
serve: vendor/bundle
|
|
bundle exec jekyll serve
|