Skip to content

Commit 94a51e5

Browse files
committed
haxelib release
1 parent 6aa4c6d commit 94a51e5

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff 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

310317
You can generate the report in checkstyle XML format that can be integrated with Hudson and Bamboo easily.
311318

312319
You 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

316323
Sample Hudson Checkstyle Trend Chart:
317324

build.hxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
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

haxelib.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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",

0 commit comments

Comments
 (0)