Makefile in twilio-ruby-5.0.0.rc26 vs Makefile in twilio-ruby-5.0.0
- old
+ new
@@ -1,15 +1,22 @@
+.PHONY: test lint-changed lint
+
+CHANGED_RUBY_FILES = $(shell git status --porcelain | grep ".rb" | awk -F ' ' '{print $2}' | tr '\n' ' ')
+
install:
bundle install; bundle exec rake install
test-install:
bundle install
-test:
+test: lint
bundle exec rake spec
docs:
yard doc
+
+lint:
+ rubocop --cache true --parallel
authors:
echo "Authors\n=======\n\nA huge thanks to all of our contributors:\n\n" > AUTHORS.md
git log --raw | grep "^Author: " | cut -d ' ' -f2- | cut -d '<' -f1 | sed 's/^/- /' | sort | uniq >> AUTHORS.md