Improve niminst zip error message and fix CI build.
This commit is contained in:
parent
0e7ff0df5f
commit
b3c18b8dd8
2 changed files with 6 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue