cashtang opened a new issue #62: 检查不符合规范时退出处理
URL: https://github.com/apache/servicecomb-toolkit/issues/62
 
 
   检查不符合规范时没有用 System.exit(1) 来退出,makefile 这样的工具就不能很好的处理。
   例如这样的Makefile。如果 verify 不通过,generate 应该也不能执行。
   `
   verify:
         java -jar cil.jar checkstyle -f openapi.yml
   
   generate: verify
        java -jar cil.jar codegenerate -i openapi.yml
   `
   
   建议增加一个参数 --use-strict  表示启用严格模式,当检查不通过时用System.exit(1) 来退出。

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to