1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00
This commit is contained in:
Cedric Beust 2015-11-26 05:45:31 -08:00
parent 57f8ec90c4
commit 651eb449f8

View file

@ -51,9 +51,6 @@ class ParsedBuildFile(val file: File, val context: KobaltContext) {
* val profile = true, otherwise return the same line * val profile = true, otherwise return the same line
*/ */
fun correctProfileLine(line: String) : String { fun correctProfileLine(line: String) : String {
if (line.contains("experimental")) {
println("DONOTCOMMIT")
}
context.profiles.forEach { context.profiles.forEach {
if (line.matches(kotlin.text.Regex("[ \\t]*val[ \\t]+$it[ \\t]+=.*"))) { if (line.matches(kotlin.text.Regex("[ \\t]*val[ \\t]+$it[ \\t]+=.*"))) {
with("val $it = true") { with("val $it = true") {