From 1bbaa71ccbd4994de1d886aed443f8572f601626 Mon Sep 17 00:00:00 2001 From: Smooth Operator Date: Fri, 23 Dec 2022 09:34:09 -0500 Subject: [PATCH] 3.9.6: never use ic --- balls.nimble | 2 +- balls/runner.nim | 13 ++----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/balls.nimble b/balls.nimble index 252a4fa..2a37a80 100644 --- a/balls.nimble +++ b/balls.nimble @@ -1,4 +1,4 @@ -version = "3.9.5" +version = "3.9.6" author = "disruptek" description = "a unittest framework with balls 🔴🟡🟢" license = "MIT" diff --git a/balls/runner.nim b/balls/runner.nim index 4ac8c93..193712a 100644 --- a/balls/runner.nim +++ b/balls/runner.nim @@ -319,17 +319,8 @@ var defaults = @["""--path=".""""] # work around early nim behavior when compileOption"threads": defaults.add "--parallelBuild:1" -if (NimMajor, NimMinor) >= (1, 8): - # always use IC if it's available - defaults.add "--incremental:on" -elif ci: - # otherwise, force rebuild only on CI - if not compileOption"threads": - # and only outside threads - defaults.add "--forceBuild:on" - when (NimMajor, NimMinor) >= (1, 5): - # force incremental off so as not to get confused by a config file - defaults.add "--incremental:off" +if (NimMajor, NimMinor) >= (1, 5): + defaults.add "--incremental:off" proc cache(p: Profile): string = ## come up with a unique cache directory according to where you'd like