nim.nimble 729 B

123456789101112131415161718
  1. include "lib/system/compilation.nim"
  2. version = $NimMajor & "." & $NimMinor & "." & $NimPatch
  3. author = "Andreas Rumpf"
  4. description = "Compiler package providing the compiler sources as a library."
  5. license = "MIT"
  6. bin = @["compiler/nim", "nimsuggest/nimsuggest"]
  7. 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" ]
  8. skipDirs = @["build" , "changelogs" , "ci" , "csources_v2" , "drnim" , "nimdoc", "testament"]
  9. before install:
  10. when defined(windows):
  11. if not "bin\nim.exe".fileExists:
  12. exec "build_all.bat"
  13. else:
  14. if not "bin/nim".fileExists:
  15. exec "./build_all.sh"