Skip to content
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

Is there an option to remove folders in the --remove-filter flag? #3

Open
tomachi opened this issue Oct 13, 2016 · 7 comments
Open

Comments

@tomachi
Copy link

tomachi commented Oct 13, 2016

No description provided.

@voidrender
Copy link
Owner

Yes, surround the directory names with *. E.g.,

alcove --verbose --product-name MyApp --remove-filter *MyAppTest*,*iPhoneSimulator*

@tomachi
Copy link
Author

tomachi commented Oct 13, 2016

Trying to use this:
/usr/local/bin/alcove --product-name "proj" --search-directory "/Users/sre/Library/Developer/Xcode/DerivedData/Build/Intermediates/CodeCoverage/Intermediates/proj.build/Adhoc-iphonesimulator/Proj\ Test\ Enterprise.build/Objects-normal/x86_64/" --output-directory "/Users/sre/Desktop" --remove-filter *SdkExampleApp*

Gives:
🔍 Generating report...
/Users/sre/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/find.rb:42:in block in find': No such file or directory (Errno::ENOENT) from /Users/sre/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/find.rb:42:incollect!'
from /Users/sre/.rvm/rubies/ruby-2.2.4/lib/ruby/2.2.0/find.rb:42:in find' from /Users/sre/.rvm/gems/ruby-2.2.4/gems/alcove-0.2.3/lib/alcove.rb:44:incopy_input_files_to_temp'
from /Users/sre/.rvm/gems/ruby-2.2.4/gems/alcove-0.2.3/bin/alcove:83:in <top (required)>' from /usr/local/bin/alcove:23:inload'
from /usr/local/bin/alcove:23:in <main>' from /Users/sre/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:ineval'
from /Users/sre/.rvm/gems/ruby-2.2.4/bin/ruby_executable_hooks:15:in `

'

@voidrender
Copy link
Owner

Hm, I wonder if that is being caused by spaces in your search dir.

@tomachi
Copy link
Author

tomachi commented Oct 13, 2016

Tried with leading \ also. No luck.

@voidrender
Copy link
Owner

Just got back from vacation. I'll make some time to investigate this weekend.

What version of Xcode are you using?

@tomachi
Copy link
Author

tomachi commented Oct 15, 2016

7.3.1.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@tomachi @voidrender and others