backport: 20.2.2
This commit is contained in:
parent
456425f35a
commit
808f45bb35
3 changed files with 12 additions and 5 deletions
|
@ -17,6 +17,13 @@ Changelog structure reference:
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [20.2.2]
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Debugging
|
||||||
|
- `zig build run` would run the process twice, one without, one with debugging
|
||||||
|
|
||||||
## [20.2.1]
|
## [20.2.1]
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -48,10 +48,9 @@ class ZigExecConfigBuild(project: Project, factory: ConfigurationFactory): ZigEx
|
||||||
override suspend fun buildCommandLineArgs(debug: Boolean): List<String> {
|
override suspend fun buildCommandLineArgs(debug: Boolean): List<String> {
|
||||||
val result = ArrayList<String>()
|
val result = ArrayList<String>()
|
||||||
result.add("build")
|
result.add("build")
|
||||||
val steps = buildSteps.args
|
val steps = if (debug) {
|
||||||
if (debug) {
|
|
||||||
val truncatedSteps = ArrayList<String>()
|
val truncatedSteps = ArrayList<String>()
|
||||||
for (step in steps) {
|
for (step in buildSteps.args) {
|
||||||
if (step == "run")
|
if (step == "run")
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
@ -60,7 +59,8 @@ class ZigExecConfigBuild(project: Project, factory: ConfigurationFactory): ZigEx
|
||||||
|
|
||||||
truncatedSteps.add(step)
|
truncatedSteps.add(step)
|
||||||
}
|
}
|
||||||
}
|
truncatedSteps
|
||||||
|
} else buildSteps.args
|
||||||
result.addAll(steps)
|
result.addAll(steps)
|
||||||
result.addAll(coloredCliFlags(colored.value, debug))
|
result.addAll(coloredCliFlags(colored.value, debug))
|
||||||
result.addAll(extraArgs.args)
|
result.addAll(extraArgs.args)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
pluginName=ZigBrains
|
pluginName=ZigBrains
|
||||||
pluginRepositoryUrl=https://github.com/FalsePattern/ZigBrains
|
pluginRepositoryUrl=https://github.com/FalsePattern/ZigBrains
|
||||||
|
|
||||||
pluginVersion=20.2.1
|
pluginVersion=20.2.2
|
||||||
|
|
||||||
pluginSinceBuild=241
|
pluginSinceBuild=241
|
||||||
pluginUntilBuild=241.*
|
pluginUntilBuild=241.*
|
||||||
|
|
Loading…
Add table
Reference in a new issue