Skip to content

Commit

Permalink
3.9.6: never use ic
Browse files Browse the repository at this point in the history
  • Loading branch information
disruptek committed Dec 23, 2022
1 parent f8e9c62 commit 1bbaa71
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion balls.nimble
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = "3.9.5"
version = "3.9.6"
author = "disruptek"
description = "a unittest framework with balls 🔴🟡🟢"
license = "MIT"
Expand Down
13 changes: 2 additions & 11 deletions balls/runner.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1bbaa71

Please sign in to comment.