Properly check platform of klib by reading manifest
This commit is contained in:
committed by
Dmitriy Dolovov
parent
4742057b51
commit
6ccb8cd0a3
@@ -123,5 +123,9 @@ fun buildKoltinLibrary(
|
||||
}
|
||||
|
||||
enum class BuiltInsPlatform {
|
||||
JVM, JS, NATIVE, COMMON
|
||||
JVM, JS, NATIVE, COMMON;
|
||||
|
||||
companion object {
|
||||
fun parseFromString(name: String): BuiltInsPlatform? = values().firstOrNull { it.name == name }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user