Keep test files meant for scripted tests within a template #774
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #394
To test this I ran
sbt new sbt/sbt-autoplugin.g8
. Like reported in #394 thesrc/sbt-test/sbt-foo-bar/simple/test
was missing.Now I did
.gitignore
file:src/sbt-test/sbt-foo-bar/simple/test
(the one that should not be ignored)sbt-test
folder to the root dir containing varioustest
files in various levels and atest
file in the root folder and in a directory e.gscr/main/
.Now running:
It's exactly what I wanted to see. All
test
files containted within asbt-test
folder get added, no matter which level they are in and no matter at which level thesbt-test
folder is. All othertest
files get ignored.