Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 20 lines (16 sloc) 0.507 kB
#!/usr/bin/ruby
#
#Copyright (c) 2012, Yahoo! Inc. All rights reserved.
#Copyrights licensed under the New BSD License. See the accompanying LICENSE
#file for terms.
#
if ARGV.size < 1
STDERR.puts "usage: bundle-clean bundle"
exit 1
end
headers = Dir.glob(File.join(ARGV[0], "**", "*.h"))
headers.each { |f| File.unlink(f) ; puts "Removed: #{f}" }
# ARGV[0] =~ /.+\/(.+?)\..+/
# binary = File.join(ARGV[0], "Contents", "MacOS", "#{$1}")
# system "strip '#{binary}'"
# puts "Stripped: \"#{binary}\""
Jump to Line
Something went wrong with that request. Please try again.