fixup! Added assert
This commit is contained in:
@@ -116,6 +116,7 @@ open class RunKotlinNativeTask @Inject constructor(private val linkTask: Task,
|
|||||||
fun run() {
|
fun run() {
|
||||||
val output = ByteArrayOutputStream()
|
val output = ByteArrayOutputStream()
|
||||||
remoteHost?.let {
|
remoteHost?.let {
|
||||||
|
requireNotNull(remoteHostFolder) {"Please provide folder on remote host with -PremoteHostFolder=<folder>"}
|
||||||
project.exec {
|
project.exec {
|
||||||
executable = "scp"
|
executable = "scp"
|
||||||
args(this@RunKotlinNativeTask.executable, "$it:$remoteHostFolder")
|
args(this@RunKotlinNativeTask.executable, "$it:$remoteHostFolder")
|
||||||
|
|||||||
Reference in New Issue
Block a user