mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 00:17:11 -07:00
Log profiles.
This commit is contained in:
parent
7030c98b98
commit
0e2cfc69fb
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ class ParsedBuildFile(val buildFile: BuildFile, val context: KobaltContext, val
|
|||
(context.profiles as List<String>).forEach {
|
||||
if (line.matches(Regex("[ \\t]*val[ \\t]+$it[ \\t]+=.*"))) {
|
||||
with("val $it = true") {
|
||||
log(2, "Activating profile $it in build file")
|
||||
profileLines.add(this)
|
||||
return this
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue