Luke Elliott
9efcdba0d5
Allow '//' as project function id due to git bash path conversion.
...
See https://stackoverflow.com/questions/54258996/git-bash-string-parameter-with-at-start-is-being-expanded-to-a-file-path
4 years ago
Dylan Baker
29ef4478df
compilers/d: Add b_ndebug support
...
D lang compilers have an option -release (or similar) which turns off
asserts, contracts, and other runtime type checking. This patch wires
that up to the b_ndebug flag.
Fixes #7082
5 years ago
Daniel Mensinger
94c6da33a7
rewriter: Fix that default_options would not set the correct id
...
Currently default_options uses "" for the kwarks id, however this
is incorect and it must be "/". Additionally, this error won't be
ignored in the future with "--skip" (this is why the tests were
passing and this wasn't detected earlier).
6 years ago
Daniel Mensinger
0a84bbcf4c
rewriter: Fixed test case
6 years ago
Daniel Mensinger
594bf678c7
rewriter: Require '/' for the project ID
6 years ago
Daniel Mensinger
e724fd5438
rewriter: Handle duplicate target
6 years ago
Daniel Mensinger
1290330894
rewriter: Renamed tgt_{add,rm} --> target_{add,rm}
6 years ago
Daniel Mensinger
760d1bff9c
rewriter: Sort source files ( #5010 )
...
* rewriter: Sort source files
* rewriter: Natural sorting
* rewriter: Fix flake8
* rewriter: Fixed sorting
* rewriter: Make sorting key more readable
* rewriter: Even simpler key
6 years ago
Daniel Mensinger
bd5d54513c
rewriter: Handle Arithmetic node
6 years ago
Daniel Mensinger
7199cd2095
rewriter: Avoid duplicates
6 years ago
Daniel Mensinger
16b6b2d411
Use c++14 instead of c++17 in the tests
6 years ago
Daniel Mensinger
9e247cb52e
rewriter: Set and delete default options
6 years ago
Daniel Mensinger
74bb79e26e
rewriter: Remove matching regex from list
6 years ago
Daniel Mensinger
4b7b5a7185
Fixed flake8
6 years ago
Daniel Mensinger
5184465280
rewriter: Added support for adding targets
6 years ago
Daniel Mensinger
056c533ede
rewriter: Added support for removing targets
6 years ago
Daniel Mensinger
8c364952af
Added dependecy kwargs support
6 years ago
Daniel Mensinger
5655865246
Added test case
6 years ago
Daniel Mensinger
c64d80cf2f
Renamed operation test -> info
6 years ago
Daniel Mensinger
8224ecfbe6
Some fixes and assignment based target find
6 years ago
Daniel Mensinger
a8477955a7
Removed old test files
6 years ago
Daniel Mensinger
027c3c9ac7
Added subdir test
6 years ago
Daniel Mensinger
b7c6f3ec72
Can now rewrite files
6 years ago
Daniel Mensinger
8dd9b44831
Added support for removing sources from a target
6 years ago
Daniel Mensinger
0ce6632393
Added suport for adding sources to a target
6 years ago
Daniel Mensinger
86d5799bc4
First rewriter test case
6 years ago
Daniel Mensinger
50bc0960e4
Updated basic rewrite testcase
6 years ago
Jussi Pakkanen
14ca7d602c
Store subdir information for each node so we can remove files set in other subdirectories.
8 years ago
Jussi Pakkanen
2168860a1e
Added unit test for rewriter.
8 years ago