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