nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5445a40
)
nitpick: return 1 if errors occurred
author
Jean Privat
<jean@pryen.org>
Wed, 22 Jul 2015 14:18:40 +0000
(10:18 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 22 Jul 2015 14:18:40 +0000
(10:18 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
src/nitpick.nit
patch
|
blob
|
history
diff --git
a/src/nitpick.nit
b/src/nitpick.nit
index
4d00945
..
d876c38
100644
(file)
--- a/
src/nitpick.nit
+++ b/
src/nitpick.nit
@@
-55,3
+55,4
@@
toolcontext.mmodules_to_check.add_all mmodules
modelbuilder.run_phases
toolcontext.run_global_phases(mmodules)
+if toolcontext.error_count > 0 then exit(1)