Execute cligargs script prior to to running tests

This commit is contained in:
Erik C. Thauvin 2024-05-28 13:26:34 -07:00
parent f363e7dcce
commit b42190d9cf
Signed by: erik
GPG key ID: 776702A6A2DA330E
4 changed files with 10 additions and 0 deletions

View file

@ -1,6 +1,7 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.extension-pmd=com.uwyn.rife2:bld-pmd:0.9.9
bld.extension-exec=com.uwyn.rife2:bld-exec:1.0.0
bld.repositories=MAVEN_CENTRAL,MAVEN_LOCAL,RIFE2_RELEASES
bld.downloadLocation=
bld.sourceDirectories=

View file

@ -98,6 +98,15 @@ public class CompileKotlinOperationBuild extends Project {
new CompileKotlinOperationBuild().start(args);
}
@Override
public void test() throws Exception {
new ExecOperation()
.fromProject(this)
.command("scripts/cliargs.sh")
.execute();
super.test();
}
@BuildCommand(summary = "Runs PMD analysis")
public void pmd() {
new PmdOperation()