From a9eaf1c3454fe47f2ea5db05a476133a699355f1 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Tue, 5 Feb 2019 22:18:42 +0300 Subject: [PATCH] Pill: Rename Pill configurations, make its name not capital --- buildSrc/src/main/kotlin/pill/plugin.kt | 2 +- ...L_All_Compiler_Tests.xml => Pill_All_Compiler_Tests.xml} | 6 +++--- ...IDEA_Plugin_Tests.xml => Pill_All_IDEA_Plugin_Tests.xml} | 2 +- .../{PILL_Compiler_Tests.xml => Pill_Compiler_Tests.xml} | 2 +- ...L_Generate_All_Tests.xml => Pill_Generate_All_Tests.xml} | 2 +- .../runConfigurations/{PILL_IDEA.xml => Pill_IDEA.xml} | 2 +- ...ption.xml => Pill_IDEA_No_ProcessCancelledException.xml} | 2 +- ...{PILL_JS_Backend_Tests.xml => Pill_JS_Backend_Tests.xml} | 2 +- ...ILL_JVM_Backend_Tests.xml => Pill_JVM_Backend_Tests.xml} | 2 +- .../{PILL_Java_8_Tests.xml => Pill_Java_8_Tests.xml} | 2 +- ...ILL_Refresh_JPS_Model.xml => Pill_Refresh_JPS_Model.xml} | 2 +- 11 files changed, 13 insertions(+), 13 deletions(-) rename buildSrc/src/main/resources/runConfigurations/{PILL_All_Compiler_Tests.xml => Pill_All_Compiler_Tests.xml} (58%) rename buildSrc/src/main/resources/runConfigurations/{PILL_All_IDEA_Plugin_Tests.xml => Pill_All_IDEA_Plugin_Tests.xml} (96%) rename buildSrc/src/main/resources/runConfigurations/{PILL_Compiler_Tests.xml => Pill_Compiler_Tests.xml} (95%) rename buildSrc/src/main/resources/runConfigurations/{PILL_Generate_All_Tests.xml => Pill_Generate_All_Tests.xml} (84%) rename buildSrc/src/main/resources/runConfigurations/{PILL_IDEA.xml => Pill_IDEA.xml} (97%) rename buildSrc/src/main/resources/runConfigurations/{PILL_IDEA_No_ProcessCancelledException.xml => Pill_IDEA_No_ProcessCancelledException.xml} (97%) rename buildSrc/src/main/resources/runConfigurations/{PILL_JS_Backend_Tests.xml => Pill_JS_Backend_Tests.xml} (95%) rename buildSrc/src/main/resources/runConfigurations/{PILL_JVM_Backend_Tests.xml => Pill_JVM_Backend_Tests.xml} (95%) rename buildSrc/src/main/resources/runConfigurations/{PILL_Java_8_Tests.xml => Pill_Java_8_Tests.xml} (94%) rename buildSrc/src/main/resources/runConfigurations/{PILL_Refresh_JPS_Model.xml => Pill_Refresh_JPS_Model.xml} (92%) diff --git a/buildSrc/src/main/kotlin/pill/plugin.kt b/buildSrc/src/main/kotlin/pill/plugin.kt index 639834959cb..916df2e6d3f 100644 --- a/buildSrc/src/main/kotlin/pill/plugin.kt +++ b/buildSrc/src/main/kotlin/pill/plugin.kt @@ -176,7 +176,7 @@ class JpsCompatiblePlugin : Plugin { private fun removeJpsAndPillRunConfigurations() { File(projectDir, ".idea/runConfigurations") .walk() - .filter { (it.name.startsWith("JPS_") || it.name.startsWith("PILL_")) && it.extension.toLowerCase() == "xml" } + .filter { (it.name.startsWith("JPS_") || it.name.startsWith("Pill_")) && it.extension.toLowerCase() == "xml" } .forEach { it.delete() } } diff --git a/buildSrc/src/main/resources/runConfigurations/PILL_All_Compiler_Tests.xml b/buildSrc/src/main/resources/runConfigurations/Pill_All_Compiler_Tests.xml similarity index 58% rename from buildSrc/src/main/resources/runConfigurations/PILL_All_Compiler_Tests.xml rename to buildSrc/src/main/resources/runConfigurations/Pill_All_Compiler_Tests.xml index 48a042bab57..fb0776a5110 100644 --- a/buildSrc/src/main/resources/runConfigurations/PILL_All_Compiler_Tests.xml +++ b/buildSrc/src/main/resources/runConfigurations/Pill_All_Compiler_Tests.xml @@ -1,8 +1,8 @@ - - - + + + \ No newline at end of file diff --git a/buildSrc/src/main/resources/runConfigurations/PILL_All_IDEA_Plugin_Tests.xml b/buildSrc/src/main/resources/runConfigurations/Pill_All_IDEA_Plugin_Tests.xml similarity index 96% rename from buildSrc/src/main/resources/runConfigurations/PILL_All_IDEA_Plugin_Tests.xml rename to buildSrc/src/main/resources/runConfigurations/Pill_All_IDEA_Plugin_Tests.xml index d58bc15a04b..5dad44f35aa 100644 --- a/buildSrc/src/main/resources/runConfigurations/PILL_All_IDEA_Plugin_Tests.xml +++ b/buildSrc/src/main/resources/runConfigurations/Pill_All_IDEA_Plugin_Tests.xml @@ -1,5 +1,5 @@ - +