mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-18 12:13:28 +08:00
better filtering of the gem content
This commit is contained in:
3
Rakefile
3
Rakefile
@@ -51,8 +51,9 @@ gem_spec = Gem::Specification.new do |spec|
|
||||
files.concat(Dir.glob('./lib/**/*'))
|
||||
files.concat(Dir.glob('./data/**/*').reject { |path| File.basename(path) =~ /(Rakefile|_stubs.m)/ })
|
||||
files.concat(Dir.glob('./doc/html/**/*'))
|
||||
files.concat(Dir.glob('./sample/**/*').select { |path| File.basename(path) != 'build' })
|
||||
files.concat(Dir.glob('./sample/**/*').reject { |path| path =~ /build/ })
|
||||
files.reject! { |path| /^\./.match(File.basename(path)) }
|
||||
files.reject! { |path| File.directory?(path) }
|
||||
|
||||
spec.name = 'rubixir'
|
||||
spec.summary = 'Ruby runtime for iOS'
|
||||
|
||||
Reference in New Issue
Block a user