summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nim.nimble6
1 files changed, 4 insertions, 2 deletions
diff --git a/nim.nimble b/nim.nimble
index 380ffbce8..b0253f66d 100644
--- a/nim.nimble
+++ b/nim.nimble
@@ -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"