mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
Improve niminst zip error message and fix CI build.
This commit is contained in:
@@ -21,11 +21,8 @@ cd web\upload
|
||||
move /y docs-%NIMVER%.zip download
|
||||
cd ..\..
|
||||
|
||||
Rem Build .zip file:
|
||||
rem koch csources -d:release
|
||||
rem koch xz -d:release
|
||||
rem move /y build\nim-%NIMVER%.zip web\upload\download
|
||||
|
||||
Rem Build csources
|
||||
koch csources -d:release || exit /b
|
||||
|
||||
rem Grab C sources and nimsuggest
|
||||
git clone --depth 1 https://github.com/nim-lang/csources.git
|
||||
|
||||
@@ -630,6 +630,10 @@ proc xzDist(c: var ConfigData; windowsZip=false) =
|
||||
if not dirExists(destDir): createDir(destDir)
|
||||
copyFileWithPermissions(src, dest)
|
||||
|
||||
if not existsFile("build" / buildBatFile32):
|
||||
quit("No C sources found in ./build/, please build by running " &
|
||||
"./koch csource -d:release.")
|
||||
|
||||
processFile(proj / buildBatFile32, "build" / buildBatFile32)
|
||||
processFile(proj / buildBatFile64, "build" / buildBatFile64)
|
||||
processFile(proj / buildShFile, "build" / buildShFile)
|
||||
|
||||
Reference in New Issue
Block a user