mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-06 04:57:49 +00:00
Fix the build on Windows
- `nimble install` fails on Windows, the `./` is not needed.
(cherry picked from commit 43b1b9d077)
15 lines
590 B
Nim
15 lines
590 B
Nim
version = system.NimVersion
|
|
author = "Andreas Rumpf"
|
|
description = "Compiler package providing the compiler sources as a library."
|
|
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"]
|
|
|
|
before install:
|
|
when defined(windows):
|
|
exec "build_all.bat"
|
|
else:
|
|
exec "./build_all.sh"
|