compiler API: introduce options.disableNmiblePath

This commit is contained in:
Araq 2017-01-04 20:53:25 +01:00
commit 842f66db25
2 changed files with 7 additions and 4 deletions

View file

@ -254,6 +254,12 @@ proc removeTrailingDirSep*(path: string): string =
else:
result = path
proc disableNimblePath*() =
gNoNimblePath = true
lazyPaths.head = nil
lazyPaths.tail = nil
lazyPaths.counter = 0
include packagehandling
proc getNimcacheDir*: string =