Upgraded build script.
This commit is contained in:
parent
843ad028ad
commit
a7010e24ea
|
@ -32,7 +32,7 @@ void main() {
|
||||||
mkdir(outDir);
|
mkdir(outDir);
|
||||||
foreach (profile; profiles) {
|
foreach (profile; profiles) {
|
||||||
print("Building profile: %s", profile);
|
print("Building profile: %s", profile);
|
||||||
string cmd = format!"mvn -B -Plwjgl-natives-%s --projects client --also-make clean package"(profile);
|
string cmd = format!"mvn -B -Plwjgl-natives-%s clean package"(profile);
|
||||||
new ProcessBuilder()
|
new ProcessBuilder()
|
||||||
.outputTo(buildPath(outDir, "output-" ~ profile ~ ".txt"))
|
.outputTo(buildPath(outDir, "output-" ~ profile ~ ".txt"))
|
||||||
.run(cmd);
|
.run(cmd);
|
||||||
|
|
Loading…
Reference in New Issue