This commit is contained in:
Wenxuan Zhao 2017-12-14 21:10:59 -08:00
parent 4fab4addd4
commit 008e3f6799
No known key found for this signature in database
GPG Key ID: 0B45B13F10587A57

View File

@ -12,10 +12,10 @@ check: $(CHANGE_FILE)
cat $(CHANGE_FILE)
echo
echo 'Check for rules...'
make -k $(RULES) 2>/dev/null | grep '^Rule Matched: '
make -k $(RULES) | grep '^Rule Matched: '
$(CHANGE_FILE):
git --no-pager diff '$(TRAVIS_BRANCH)' FETCH_HEAD --no-renames --name-status > $@
git --no-pager diff $(TRAVIS_BRANCH) FETCH_HEAD --no-renames --name-status > $@
rule-source-added:
[[ $(shell grep '^A\s\+sources/' $(CHANGE_FILE) | wc -l) -ge 1 ]]