1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

v.builder: implement a -check mode, that runs only the parser + the checker, without codegen (#11414)

This commit is contained in:
Ned Palacios
2021-09-07 12:17:53 +08:00
committed by GitHub
parent 823c9a3c84
commit aedb6b8e84
9 changed files with 154 additions and 26 deletions

View File

@@ -125,6 +125,9 @@ NB: the build flags are shared with the run command too:
that it uses to detect whether or not to use ANSI colors may not work in all cases.
These options allow you to override the default detection.
-check
Scans, parses, and checks the files without compiling the program.
-check-syntax
Only scan and parse the files, but then stop. Useful for very quick syntax checks.