Added script to compare checkstyle CLI arguments
This commit is contained in:
parent
0b7cfcacdf
commit
03cd729e01
1 changed files with 12 additions and 0 deletions
12
checkcliargs.sh
Executable file
12
checkcliargs.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
MAIN="com.puppycrawl.tools.checkstyle.Main"
|
||||||
|
TMPNEW=/tmp/checkcliargs-new
|
||||||
|
TMPOLD=/tmp/checkcliargs-old
|
||||||
|
|
||||||
|
java -cp "lib/test/*" $MAIN --help >$TMPNEW
|
||||||
|
java -cp "examples/lib/test/*" $MAIN --help >$TMPOLD
|
||||||
|
|
||||||
|
diff $TMPOLD $TMPNEW
|
||||||
|
|
||||||
|
rm -rf $TMPNEW $TMPOLD
|
Loading…
Add table
Add a link
Reference in a new issue