Execute cliargs script before running tests

This commit is contained in:
Erik C. Thauvin 2024-05-28 14:22:50 -07:00
parent cd34bb182c
commit 0156100013
Signed by: erik
GPG key ID: 776702A6A2DA330E
5 changed files with 27 additions and 17 deletions

View file

@ -37,7 +37,7 @@ public class TestNgOperationBuild extends Project {
version = version(0, 9, 9, "SNAPSHOT");
javaRelease = 17;
downloadSources = true;
autoDownloadPurge = true;
repositories = List.of(MAVEN_CENTRAL, RIFE2_RELEASES);
@ -101,4 +101,13 @@ public class TestNgOperationBuild extends Project {
.ruleSets("config/pmd.xml")
.execute();
}
@Override
public void test() throws Exception {
new ExecOperation()
.fromProject(this)
.command("scripts/cliargs.sh")
.execute();
super.test();
}
}