Revert "(cherry picked from commit 556f217b4c)"

This reverts commit 9e5cdc43a6.
This commit is contained in:
narimiran
2024-12-16 14:01:53 +01:00
parent 9e5cdc43a6
commit 9620d206b9
4 changed files with 9 additions and 11 deletions

View File

@@ -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 --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

View File

@@ -13,5 +13,5 @@ nimBuildCsourcesIfNeeded "$@"
echo_run bin/nim c --noNimblePath --skipUserCfg --skipParentCfg --hints:off koch
echo_run ./koch boot -d:release --skipUserCfg --skipParentCfg --hints:off
echo_run ./koch tools --skipUserCfg --hints:off
echo_run ./koch tools --skipUserCfg --skipParentCfg --hints:off

View File

@@ -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 --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 =

View File

@@ -46,7 +46,5 @@ proc cloneDependency*(destDirBase: string, url: string, commit = commitHead,
proc updateSubmodules*(dir: string) =
let oldDir = getCurrentDir()
setCurrentDir(dir)
try:
exec "git submodule update --init"
finally:
setCurrentDir(oldDir)
exec "git submodule update --init"
setCurrentDir(oldDir)