Sha256: f9dea724def0f374593c8eec2c26845e2ef38b03240d9c6c490d5d4f2bb93206
Contents?: true
Size: 841 Bytes
Versions: 2
Compression:
Stored size: 841 Bytes
Contents
require 'rake' require 'rake/testtask' namespace :gem do desc "Remove any gem files." task :clean do Dir['*.gem'].each{ |f| File.delete(f) } end desc "Create the dbi-dbrc gem" task :create => [:clean] do spec = eval(IO.read('dbi-dbrc.gemspec')) Gem::Builder.new(spec).build end desc "Install the dbi-dbrc gem" task :install => [:create] do gem = Dir["*.gem"].first sh "gem install #{gem}" end end Rake::TestTask.new do |t| t.warning = true t.verbose = true end Rake::TestTask.new(:test_xml) do |t| t.warning = true t.verbose = true t.test_files = FileList['test/test_dbi_dbrc_xml.rb'] end Rake::TestTask.new(:test_yml) do |t| t.warning = true t.verbose = true t.test_files = FileList['test/test_dbi_dbrc_yml.rb'] end task :default => :test
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dbi-dbrc-1.1.8-x86-mingw32 | Rakefile |
dbi-dbrc-1.1.7-x86-mingw32 | Rakefile |