mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 04:02:41 +00:00
fixes ci_generate produces unnecessary spaces on Windows (#24309)
follow up https://github.com/nim-lang/Nim/pull/17899
(cherry picked from commit 3e8f44b232)
This commit is contained in:
@@ -24,6 +24,6 @@ if not exist %nim_csources% (
|
||||
cd ..
|
||||
copy /y bin\nim.exe %nim_csources%
|
||||
)
|
||||
bin\nim.exe c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
|
||||
koch boot -d:release --skipUserCfg --skipParentCfg --hints:off
|
||||
koch tools --skipUserCfg --skipParentCfg --hints:off
|
||||
bin\nim.exe c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
|
||||
koch boot -d:release --skipUserCfg --skipParentCfg --hints:off
|
||||
koch tools --skipUserCfg --skipParentCfg --hints:off
|
||||
|
||||
@@ -42,9 +42,9 @@ triggers:
|
||||
|
||||
proc genBuildExtras(echoRun, koch, nim: string): string =
|
||||
result = fmt"""
|
||||
{echoRun} {nim} c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
|
||||
{echoRun} {koch} boot -d:release --skipUserCfg --skipParentCfg --hints:off
|
||||
{echoRun} {koch} tools --skipUserCfg --skipParentCfg --hints:off
|
||||
{echoRun}{nim} c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
|
||||
{echoRun}{koch} boot -d:release --skipUserCfg --skipParentCfg --hints:off
|
||||
{echoRun}{koch} tools --skipUserCfg --skipParentCfg --hints:off
|
||||
"""
|
||||
|
||||
proc genWindowsScript(buildAll: bool): string =
|
||||
@@ -95,7 +95,7 @@ set -e # exit on first error
|
||||
. ci/funs.sh
|
||||
nimBuildCsourcesIfNeeded "$@"
|
||||
|
||||
{genBuildExtras("echo_run", "./koch", "bin/nim")}
|
||||
{genBuildExtras("echo_run ", "./koch", "bin/nim")}
|
||||
"""
|
||||
|
||||
proc main()=
|
||||
|
||||
Reference in New Issue
Block a user