Nim/tests/tools
Andrey Makarov 2140d05f34
nimgrep: add --inContext and --notinContext options (#19528)
* nimgrep: add `--matchContext` and `--noMatchContext` options

* Rename options for uniformity

* Revise option names, add `--parentPath` options

* Revert --bin deprecation

* Copy-paste an original test from quantimnot

The origin was:
https://gist.githubusercontent.com/quantimnot/5d23b32fe0936ffc453220d20a87b9e2/raw/96544656d52332118295e55aa73718c389e5d194/tnimgrep.nim

* Change ! to n

* Attempt to fix test

* Fix test on Windows

* Change --contentsFile -> --inFile, add more tests

* Bump

* Change --parentPath to --dirpath
2022-09-14 18:28:01 +02:00
..
compile close #14806 (#17626) 2021-04-03 08:17:55 +02:00
dontmentionme.nim fixes #12029; finish the 'unused import' feature (#12064) 2019-08-27 19:18:56 +02:00
second.nim new feature: --staticBoundChecks:on to enforce static array index checking (#10965) 2020-03-18 14:25:10 +01:00
tlinter.nim add astmsgs; add declared in msg for usage lint errors (#17961) 2021-05-08 06:43:52 +02:00
tnimgrep.nim nimgrep: add --inContext and --notinContext options (#19528) 2022-09-14 18:28:01 +02:00
tnimscriptwithmacro.nims fixes #11903 (#11908) 2019-08-31 19:32:59 +02:00
tunused_imports.nim change --hint[X] => --hint:X in nim repo (avoids shell quoting issues) (#18085) 2021-05-26 09:51:48 +02:00