Sha256: 926855db18447673136f6a956b3d9d844629a85af22023f2591ecee0d1e7c240
Contents?: true
Size: 626 Bytes
Versions: 3
Compression:
Stored size: 626 Bytes
Contents
$:.unshift("lib") unless $:.include?("lib") require "isbn" require 'rake/gempackagetask' spec = eval(File.read("isbn.gemspec")) Rake::GemPackageTask.new(spec).define require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << "test" test.pattern = "test/**/*_test.rb" end desc "publish to rubygems.org" task :publish => :build do `gem push isbn-#{ISBN::VERSION}.gem` `rm isbn-#{ISBN::VERSION}.gem` end task :default => :test require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'test' test.pattern = FileList['test/**/*_test.rb', 'test/**/*_spec.rb'] test.verbose = true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
isbn-2.0.8 | Rakefile |
isbn-2.0.7 | Rakefile |
isbn-2.0.6 | Rakefile |