Skip to content

Commit

Permalink
prepare for gem release
Browse files Browse the repository at this point in the history
  • Loading branch information
dmacvicar committed Jan 15, 2010
1 parent 50dc607 commit 4beb6b5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Rakefile
Expand Up @@ -3,32 +3,30 @@ require 'rubygems'
gem 'hoe', '>= 2.1.0'
require 'hoe'

#require 'rake/gempackagetask'
#require 'rake/rdoctask'
#require 'rake/testtask'

task :default => [:compile, :docs, :test]

Hoe.plugin :yard

HOE = Hoe.spec 'sfcc' do
developer('Duncan Mac-Vicar P.', 'dmacvicar@suse.de')
self.summary = "sblim client ruby
bindings"
self.description = "sblim client ruby bindings"
self.summary = "WBEM client for ruby based on the sblim-sfcc library"
self.description = "ruby-sfcc allows to access a CIMOM either with the WBEM protocol or by using the SfcbLocal interface provided by the sblim-sfcb CIMOM implementation from the sblim project."
self.readme_file = ['README', ENV['HLANG'], 'rdoc'].compact.join('.')
self.history_file = ['CHANGELOG', ENV['HLANG'], 'rdoc'].compact.join('.')
self.extra_rdoc_files = FileList['*.rdoc']
self.clean_globs = [
'lib/sfcc/*.{o,so,bundle,a,log,dll}',
'lib/sfcc/sfcc.rb',
]

%w{ rake-compiler }.each do |dep|
self.extra_dev_deps << [dep, '>= 0']
end

self.extra_deps << ['shoulda', '>= 0']
self.extra_deps << ['yard', '>= 0']
self.spec_extras = { :extensions => ["ext/sfcc/extconf.rb"] }
end


gem 'rake-compiler', '>= 0.4.1'
require 'rake/extensiontask'
Rake::ExtensionTask.new('sfcc')

0 comments on commit 4beb6b5

Please sign in to comment.