Alcove icon indicating copy to clipboard operation
Alcove copied to clipboard

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

Open tomachi opened this issue 9 years ago • 7 comments
trafficstars

tomachi avatar Oct 13 '16 15:10 tomachi

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

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

voidrender avatar Oct 13 '16 17:10 voidrender

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 `

'

tomachi avatar Oct 13 '16 18:10 tomachi

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

voidrender avatar Oct 13 '16 18:10 voidrender

Tried with leading \ also. No luck.

tomachi avatar Oct 13 '16 18:10 tomachi

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

What version of Xcode are you using?

voidrender avatar Oct 15 '16 18:10 voidrender

7.3.1. Thanks!

tomachi avatar Oct 15 '16 18:10 tomachi