xref: /aosp_15_r20/external/libconfig/contrib/libconfig-ruby/Rakefile (revision 2e9d491483b805f09ea864149eadd5680efcc72a)
1*2e9d4914SAndroid Build Coastguard Workerrequire 'rubygems'
2*2e9d4914SAndroid Build Coastguard Workerrequire 'rubygems/package_task'
3*2e9d4914SAndroid Build Coastguard Worker
4*2e9d4914SAndroid Build Coastguard Workerspec = Gem::Specification.new do |s|
5*2e9d4914SAndroid Build Coastguard Worker  s.name = "rconfig"
6*2e9d4914SAndroid Build Coastguard Worker  s.version = "1.0.1"
7*2e9d4914SAndroid Build Coastguard Worker  s.author = "Peter Zotov"
8*2e9d4914SAndroid Build Coastguard Worker  s.email = "[email protected]"
9*2e9d4914SAndroid Build Coastguard Worker  s.platform = Gem::Platform::RUBY
10*2e9d4914SAndroid Build Coastguard Worker  s.summary = "libconfig bindings"
11*2e9d4914SAndroid Build Coastguard Worker  s.files = [ File.join('ext', 'extconf.rb'), File.join('ext', 'rconfig.c') ].to_a
12*2e9d4914SAndroid Build Coastguard Worker  s.extensions = 'ext/extconf.rb'
13*2e9d4914SAndroid Build Coastguard Workerend
14*2e9d4914SAndroid Build Coastguard Worker
15*2e9d4914SAndroid Build Coastguard WorkerGem::PackageTask.new(spec) do |pkg|
16*2e9d4914SAndroid Build Coastguard Workerend
17*2e9d4914SAndroid Build Coastguard Worker
18