Execute cliargs script before running tests

This commit is contained in:
Erik C. Thauvin 2024-05-28 13:54:33 -07:00
parent 7413565d87
commit be15297cc5
Signed by: erik
GPG key ID: 776702A6A2DA330E
6 changed files with 29 additions and 17 deletions

12
scripts/checkcliargs.sh Executable file
View 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