This came up while discussing an actually useful use case for Xcode's groups: grouping tests and source files together. Have MYFoo.h, MYFoo.m, and MYFooTests.m in the same group one after the other. Without file exclusion, Synx would (reasonably) move all the tests into the app's directory, and Cocoapods would include the test files in the pod.
I imagine something like this, which would simply not move the test files anywhere:
synx --exclude-files **/*Tests.m
This came up while discussing an actually useful use case for Xcode's groups: grouping tests and source files together. Have
MYFoo.h,MYFoo.m, andMYFooTests.min the same group one after the other. Without file exclusion, Synx would (reasonably) move all the tests into the app's directory, and Cocoapods would include the test files in the pod.I imagine something like this, which would simply not move the test files anywhere:
synx --exclude-files **/*Tests.m