summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorgenotrance <dev@genotrance.com>2020-10-10 00:04:57 -0500
committerGitHub <noreply@github.com>2020-10-10 07:04:57 +0200
commit442841037a57d3b0f36ed1c6fd1fffd7110253d2 (patch)
treef317db2a6e6a5d711735c6627809f642d1042904
parent0a560144cef00bb2d41ce52f218c9927c1b1f6e2 (diff)
downloadNim-442841037a57d3b0f36ed1c6fd1fffd7110253d2.tar.gz
Fix #12027 (#15519)
-rw-r--r--koch.nim8
-rw-r--r--tools/niminst/niminst.nim2
2 files changed, 5 insertions, 5 deletions
diff --git a/koch.nim b/koch.nim
index 51ebac659..398a14e23 100644
--- a/koch.nim
+++ b/koch.nim
@@ -78,7 +78,7 @@ Boot options:
 Commands for core developers:
   runCI                    runs continuous integration (CI), eg from travis
   docs [options]           generates the full documentation
-  csource -d:release       builds the C sources for installation
+  csource -d:danger        builds the C sources for installation
   pdf                      builds the PDF documentation
   zip                      builds the installation zip package
   xz                       builds the installation tar.xz package
@@ -416,7 +416,7 @@ proc winRelease*() =
                   "web/upload/download/docs-$1.zip" % VersionAsString
   when true:
     inFold "winrelease csource":
-      csource("-d:release")
+      csource("-d:danger")
   when sizeof(pointer) == 4:
     winReleaseArch "32"
   when sizeof(pointer) == 8:
@@ -561,7 +561,7 @@ proc runCI(cmd: string) =
 proc pushCsources() =
   if not dirExists("../csources/.git"):
     quit "[Error] no csources git repository found"
-  csource("-d:release")
+  csource("-d:danger")
   let cwd = getCurrentDir()
   try:
     copyDir("build/c_code", "../csources/c_code")
@@ -582,7 +582,7 @@ proc pushCsources() =
     setCurrentDir(cwd)
 
 proc testUnixInstall(cmdLineRest: string) =
-  csource("-d:release " & cmdLineRest)
+  csource("-d:danger" & cmdLineRest)
   xz(false, cmdLineRest)
   let oldCurrentDir = getCurrentDir()
   try:
diff --git a/tools/niminst/niminst.nim b/tools/niminst/niminst.nim
index a0a0d9ad4..47137f8f3 100644
--- a/tools/niminst/niminst.nim
+++ b/tools/niminst/niminst.nim
@@ -605,7 +605,7 @@ proc xzDist(c: var ConfigData; windowsZip=false) =
 
   if not windowsZip and not fileExists("build" / buildBatFile):
     quit("No C sources found in ./build/, please build by running " &
-         "./koch csource -d:release.")
+         "./koch csource -d:danger.")
 
   if not windowsZip:
     processFile(proj / buildBatFile, "build" / buildBatFile)