Execute cliargs script before running tests
This commit is contained in:
parent
7413565d87
commit
be15297cc5
6 changed files with 29 additions and 17 deletions
12
scripts/checkcliargs.sh
Executable file
12
scripts/checkcliargs.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
main=io.gitlab.arturbosch.detekt.cli.Main
|
||||
new=/tmp/checkcliargs-new
|
||||
old=/tmp/checkcliargs-old
|
||||
|
||||
java -cp "lib/compile/*:examples/lib/bld/*" $main --help >$new
|
||||
java -cp "examples/lib/bld/*" $main --help >$old
|
||||
|
||||
diff $old $new
|
||||
|
||||
rm -rf $new $old
|
Loading…
Add table
Add a link
Reference in a new issue