Add build.gradle dynamic uploadProject task
Dieser Commit ist enthalten in:
Ursprung
d192d843b1
Commit
27cc6efb43
@ -83,6 +83,7 @@ task finalizeProject {
|
|||||||
}
|
}
|
||||||
build.finalizedBy(finalizeProject)
|
build.finalizedBy(finalizeProject)
|
||||||
|
|
||||||
|
if (project.hasProperty("hostname")) {
|
||||||
task uploadProject {
|
task uploadProject {
|
||||||
description 'Upload this project'
|
description 'Upload this project'
|
||||||
group "Steamwar"
|
group "Steamwar"
|
||||||
@ -95,6 +96,7 @@ task uploadProject {
|
|||||||
shell("ssh ${hostname} \"./mc Dev1.15\"")
|
shell("ssh ${hostname} \"./mc Dev1.15\"")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes a shell command and returns the stdout result.
|
* Executes a shell command and returns the stdout result.
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren