6 Commits

Author SHA1 Message Date
Nicolas Setton
97318dfd33 Add support for powershell
And add a test.

For #40.
2024-01-23 14:21:18 +00:00
Nicolas Setton
bfa51ef352 Merge pull request #30 from AdaCore/topic/tabs
Fix support for tabs
2022-02-09 13:05:33 +00:00
Nicolas Setton
c2fb9c188a Fix support for tabs
Do this by removing all tabs from files - if the issue disappears
after removal of tabs, give up and ask the user to remove tabs.

Fixes #5
2022-02-09 12:50:44 +00:00
Nicolas Setton
4475f5b086 Fix issue with brute force removals
There could be a case where the brute force removal is successful
in getting rid of a file, but the engine still tries to read this
file from disk later. Add defensive programming against this and
add a test.

Fixes #27
2022-02-09 11:55:15 +00:00
Nicolas Setton
bb3c8df5d8 Avoid eating sources in externally built projects
Add a method in ProjectResolver to query whether a source belongs
to the non-externally-built closure.

Use this to filter out files discovered when --follow-closure
is used to walk the closure.

Add a test.
2022-02-08 14:02:18 +00:00
Nicolas Setton
ec89ff0cc7 Add an "adareducer" script at the toplevel
For the benefit of the development environment, or any
users who only "git clone" this repository and work from it.

Fix the testsuite using this.

Rename the "adareducer" source dir to "ada_reducer"
2022-02-02 16:18:41 +00:00