diff options
Diffstat (limited to 'nim.nimble')
-rw-r--r-- | nim.nimble | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/nim.nimble b/nim.nimble index a629c0e04..bf195b0fa 100644 --- a/nim.nimble +++ b/nim.nimble @@ -1,14 +1,17 @@ -version = system.NimVersion +include "lib/system/compilation.nim" +version = $NimMajor & "." & $NimMinor & "." & $NimPatch author = "Andreas Rumpf" -description = "Compiler package providing the compiler sources as a library." +description = "Nim package providing the compiler binary" license = "MIT" bin = @["compiler/nim", "nimsuggest/nimsuggest"] skipFiles = @["azure-pipelines.yml" , "build_all.bat" , "build_all.sh" , "build_nimble.bat" , "build_nimble.sh" , "changelog.md" , "koch.nim.cfg" , "nimblemeta.json" , "readme.md" , "security.md" ] -skipDirs = @["build" , "changelogs" , "ci" , "csources_v1" , "drnim" , "nimdoc", "testament"] +skipDirs = @["build" , "changelogs" , "ci" , "csources_v2" , "drnim" , "nimdoc", "testament"] before install: when defined(windows): - exec "./build_all.bat" + if not "bin\nim.exe".fileExists: + exec "build_all.bat" else: - exec "./build_all.sh" + if not "bin/nim".fileExists: + exec "./build_all.sh" |