Introduce environment variable to .konan parent dir

This commit is contained in:
Sergey Mashkov
2018-03-23 19:04:32 +03:00
committed by ilmat192
parent 1b42eb1d13
commit 420ef4f221
7 changed files with 23 additions and 22 deletions
+3 -1
View File
@@ -171,5 +171,7 @@ task update(type: Copy) {
}
task rmDotKonan(type: Delete) {
delete "${System.getProperty("user.home")}/.konan"
def dir = System.getenv("KONAN_DATA_DIR") ?: "${System.getProperty("user.home")}/.konan"
delete dir
}