New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option for excluding specified groups (--exclusion, -e) doesn't function. #12
Comments
Ah! I need to fix the docs. Try prefixing your exclusions with
|
It might be nice to make the option more lenient, too... maybe we should just prepend the |
Nope, "/" doesn't help, get the same error: |
Ok, this works: |
Thanks! I fixed the readme. I think then is some general sketchiness with the exclusion feature, so let me know if you see any other issues. |
Thanks for updating the readme! By the way, in the updated "Advanced" section example where is no "-p" option specified anymore, though the comment below it still references it: |
Ah! Thanks! |
Okay, so, apparently the leading Anyway, thanks for sharing the project and have a great weekend! 🍻 |
Sorry about that! This should fix it #18 |
Following the usage as specified in the example: $ synx -p -e=OCMock/Core -e=OCKMockTests Source/OCMock.xcodeproj produces the following error output:
$ synx -p -e=Shared CBTest.xcodeproj
'/Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/lib/synx/project.rb:88:in
block in group_exclusions=': No group =Shared exists (IndexError) from /Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/lib/synx/project.rb:81:in
each'from /Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/lib/synx/project.rb:81:in
group_exclusions=' from /Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/lib/synx/project.rb:37:in
set_options'from /Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/lib/synx/project.rb:16:in
sync' from /Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/bin/synx:15:in
execute'from /Library/Ruby/Gems/2.0.0/gems/clamp-0.6.3/lib/clamp/command.rb:67:in
run' from /Library/Ruby/Gems/2.0.0/gems/clamp-0.6.3/lib/clamp/command.rb:125:in
run'from /Library/Ruby/Gems/2.0.0/gems/clamp-0.6.3/lib/clamp.rb:6:in
Clamp' from /Library/Ruby/Gems/2.0.0/gems/synx-0.0.4/bin/synx:6:in
<top (required)>'from /usr/bin/synx:23:in
load' from /usr/bin/synx:23:in
If '=' is removed (like the --help usage suggests):
$ synx -p -e Shared CBTest.xcodeproj
the option is completely ignored and specified group is synced anyway.
The text was updated successfully, but these errors were encountered: