diff options
author | w0rp <devw0rp@gmail.com> | 2017-01-22 14:54:57 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-01-22 14:54:57 +0000 |
commit | d7ed49f84964aebdaa180b553e83943cd85c5d20 (patch) | |
tree | fc71c3fb869ca67864a32d4513cb27f25ce50f69 /Makefile | |
parent | e4a4fcd26bff47b3611887167a0510a5e29cbe3b (diff) | |
download | ale-d7ed49f84964aebdaa180b553e83943cd85c5d20.zip |
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -30,6 +30,14 @@ test: test-setup docker run -a stdout $(DOCKER_FLAGS) vint -s /testplugin | sed s:^/testplugin/:: || EXIT=$$?; \ set +o pipefail; \ echo; \ + echo '========================================'; \ + echo 'Running custom checks'; \ + echo '========================================'; \ + echo 'Custom warnings/errors follow:'; \ + echo; \ + set -o pipefail; \ + docker run -a stdout $(DOCKER_FLAGS) /testplugin/custom-checks /testplugin | sed s:^/testplugin/:: || EXIT=$$?; \ + set +o pipefail; \ echo; \ exit $$EXIT; |