Execute cliargs script before running tests
This commit is contained in:
parent
7413565d87
commit
be15297cc5
6 changed files with 29 additions and 17 deletions
8
scripts/cliargs.sh
Executable file
8
scripts/cliargs.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
java -cp "lib/compile/*:examples/lib/bld/*" io.gitlab.arturbosch.detekt.cli.Main --help |\
|
||||
grep "^ --.*" |\
|
||||
sed -e "s/ //" -e "s/, .*//" -e '/version/d' -e '/help/d' |\
|
||||
sort |\
|
||||
sed -e '$s/,//' > "src/test/resources/detekt-args.txt"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue