File tree Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Expand file tree Collapse file tree 4 files changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -299,19 +299,26 @@ To see all the options available run the following command.
299299[-p | --path] <loc> : Set reporter path
300300[-x | --xslt] <x> : Set reporter style (XSLT)
301301[-r | --reporter] <reporterName> : Set reporter
302- [--list-reporters] : List all reporters
303302[-c | --config] <configPath> : Set config file
304303[--list-checks] : List all checks
304+ [-report] : Generate build time report
305305[-s | --source] <sourcePath> : Set sources to process
306306```
307+ ###Compile Time Report
308+
309+ Now you can generate compile time report in console by passing ` -report ` option.
310+
311+ ` haxelib run checkstyle -s src -p report.xml -report `
312+
313+ Note that ` -report ` option only works with ` xml ` report.
307314
308315###Hudson and Bamboo Integration
309316
310317You can generate the report in checkstyle XML format that can be integrated with Hudson and Bamboo easily.
311318
312319You can also set XSLT style for the XML generated. See the sample below.
313320
314- ` haxelib run checkstyle -s src -c config.json -r xml - p report.xml -x report.xsl `
321+ ` haxelib run checkstyle -s src -c config.json -p report.xml -x report.xsl `
315322
316323Sample Hudson Checkstyle Trend Chart:
317324
Original file line number Diff line number Diff line change 1111-main checkstyle. Main
1212-D checkstyle
1313-neko run.n
14- -cmd neko run -s checkstyle -r xml - p resources/static-analysis.xml -report
14+ -cmd neko run -s checkstyle -p resources/static-analysis.xml -report
1515
1616--next
1717-main checkstyle. Main
Original file line number Diff line number Diff line change 1010 ],
1111 "description" : " Automated code analysis ideal for projects that want to enforce a coding standard." ,
1212 "contributors" : [" adireddy" ],
13- "releasenote" : " refactoring and cleanup " ,
14- "version" : " 1.1.4 " ,
13+ "releasenote" : " added -report option to see all the issues at build time (only works with xml report now) " ,
14+ "version" : " 1.1.5 " ,
1515 "url" : " https://github.com/adireddy/haxe-checkstyle" ,
1616 "dependencies" : {
1717
Original file line number Diff line number Diff line change 11{
22 "name" : " checkstyle" ,
3- "version" : " 1.1.4 " ,
3+ "version" : " 1.1.5 " ,
44 "description" : " Automated code analysis ideal for projects that want to enforce a coding standard." ,
55 "repository" : {
66 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments