only generate configs if they don't exist yet
All checks were successful
Publish to snapshot maven / build (push) Successful in 17s
All checks were successful
Publish to snapshot maven / build (push) Successful in 17s
This commit is contained in:
parent
971aaf1103
commit
f7aaae41b3
|
@ -30,10 +30,10 @@ object RunConfigGenerator {
|
||||||
val envs = listOf("client", "server")
|
val envs = listOf("client", "server")
|
||||||
for (s in envs) {
|
for (s in envs) {
|
||||||
val name = "Minecraft_${capitalize(s)}.xml"
|
val name = "Minecraft_${capitalize(s)}.xml"
|
||||||
//if (!runConfigPath.resolve(name).exists()) {
|
if (!runConfigPath.resolve(name).exists()) {
|
||||||
val config = RunConfig(s, project)
|
val config = RunConfig(s, project)
|
||||||
runConfigPath.resolve(name).writeText(config.getXml())
|
runConfigPath.resolve(name).writeText(config.getXml())
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue