mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
Avoid calling build_all* when nim binary is present (#21522)
- `nimble` will build `nim` using `bin/nim` and if it is already present we can reuse it.
This commit is contained in:
@@ -10,6 +10,8 @@ skipDirs = @["build" , "changelogs" , "ci" , "csources_v2" , "drnim" , "nimdoc",
|
||||
|
||||
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"
|
||||
|
||||
Reference in New Issue
Block a user