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

9 Commits

Author SHA1 Message Date
Delyan Angelov
065ce39577 compiler: -g and -debug should always add -g at least in the C compiler by default
* compiler: -g and -debug should always add -g at least in the C compiler by default.

* Set first the C backend debug_options, so that the optimization_options can override them later.

* Implement cleaner named is_debug, is_vlines, is_keep_c and is_cache options (i.e. -g/-cg, -keep_c, -cache v flags).

* Check and reset file/line numbers in the generated main program, only if v.pref.is_vlines is true.
2019-10-12 13:54:01 +03:00
Alexander Medvednikov
a9a73d9315 caching modules: almost there 2019-10-09 06:35:58 +03:00
Delyan Angelov
dbd72ee828 v test: add ability to test a folder or a set of _test.v files
* v test: support for running 'v test folder/' .

* Support passing multiple folders and also single _test.v files to 'v test' .

* Update vhelp too, with descriptions of v test folder/ and v -stats .

* Fix running `v test v` from outside the root of the v tree.
2019-10-09 06:01:43 +03:00
Alexander Medvednikov
9d57599b33 vhelp.v: -shared 2019-10-03 02:02:06 +03:00
Alexander Medvednikov
897db23203 fix vhelp.v 2019-09-15 14:15:31 +03:00
Alexander Medvednikov
bcf3dbf974 improve vhelp.v a bit 2019-09-15 14:08:40 +03:00
Nicolas Sauzede
7f3cfea02b compiler: improve the help message 2019-09-13 16:19:41 +03:00
Vitor Oliveira
c66fbd9bff compile: fix typos in vhelp.v 2019-09-11 23:54:36 +03:00
Delyan Angelov
63f2f2b294 compiler: improve v --help . Move help descriptions to compiler/vhelp.v 2019-09-11 13:35:03 +03:00