Sha256: 17cf49bb316f38abc8eb8123255240d81f6b21ebb1eaaee6151e8137d194ca0d

Contents?: true

Size: 573 Bytes

Versions: 2

Compression:

Stored size: 573 Bytes

Contents

$:.unshift("lib") unless $:.include?("lib")
version = open("VERSION").read.strip

desc "Build, Install and Cleanup gem"
task :install do
  `gem build isbn.gemspec`
  `gem install isbn-#{version}.gem`
  `rm 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

desc "publish to rubygems.org"
task :publish  do
  `gem build isbn.gemspec`
  `gem push isbn-#{version}.gem`
  `rm isbn-#{version}.gem`
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
isbn-2.0.11 Rakefile
isbn-2.0.10 Rakefile