mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-22 00:05:58 -05:00
14 lines
340 B
Makefile
14 lines
340 B
Makefile
.PHONY: update-version codegen-format test ci-test
|
|
update-version:
|
|
@echo "$(VERSION)" > VERSION
|
|
@perl -pi -e 's|VERSION = "[.\-\w\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb
|
|
|
|
codegen-format:
|
|
bundle install --quiet
|
|
bundle exec rubocop -o /dev/null --auto-correct
|
|
|
|
ci-test:
|
|
bundle install && bundle exec rake test
|
|
|
|
test: ci-test
|