gradle-plugin: Rename targets
macbook -> osx iphone -> ios
This commit is contained in:
@@ -136,7 +136,7 @@ class KonanPlugin: Plugin<ProjectInternal> {
|
|||||||
private fun String.isSupported(): Boolean {
|
private fun String.isSupported(): Boolean {
|
||||||
val os = CompilerDownloadTask.simpleOsName()
|
val os = CompilerDownloadTask.simpleOsName()
|
||||||
return when (os) {
|
return when (os) {
|
||||||
"macos" -> this == "macbook" || this == "iphone"
|
"macos" -> this == "osx" || this == "ios"
|
||||||
"linux" -> this == "linux" || this == "raspberrypi"
|
"linux" -> this == "linux" || this == "raspberrypi"
|
||||||
else -> false
|
else -> false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user