mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-23 04:50:45 +00:00
Nim check defines 'nimcheck' conditional symbol
This commit is contained in:
@@ -41,6 +41,7 @@ proc commandGenDepend =
|
||||
|
||||
proc commandCheck =
|
||||
msgs.gErrorMax = high(int) # do not stop after first error
|
||||
defineSymbol("nimcheck")
|
||||
semanticPasses() # use an empty backend for semantic checking only
|
||||
rodPass()
|
||||
compileProject()
|
||||
|
||||
Reference in New Issue
Block a user