stripe-ruby/Makefile
2023-03-17 12:28:09 -07:00

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