Skip to content

Commit 1fb03e8

Browse files
ZoomRmcdlesnoff
authored andcommitted
chore: gc->mm, move back to config.nims (#47)
1 parent 4dac603 commit 1fb03e8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

config.nims

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ import std/[os, sequtils]
1313
from std/strutils import startsWith, endsWith
1414
from std/strformat import `&`
1515

16+
--mm:arc # TODO: check if still needs to be below imports on Nim > 1.6.12
17+
1618
const IgnorePathPrefixes = ["."]
1719

1820
func isIgnored(path: string): bool =
@@ -27,12 +29,13 @@ iterator modules(dir: string = getCurrentDir()): string =
2729

2830
############ Tasks
2931
task test, "Test everything":
32+
--warning: "BareExcept:off"
3033
--hints: off
3134
var failedUnits: seq[string]
3235

3336
for path in modules():
3437
echo &"Testing {path}:"
35-
try: exec(&"nim --hints:off r \"{path}\"")
38+
try: selfExec(&"-f --warning[BareExcept]:off --hints:off r \"{path}\"")
3639
except OSError:
3740
failedUnits.add(path)
3841
if failedUnits.len > 0:

nim.cfg

-2
This file was deleted.

0 commit comments

Comments
 (0)