Sha256: 12330c5bbd53fb6216d28d2737039f79ec7930b9ae1af7263bfe289f2d050119

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

$:.unshift("lib") unless $:.include?("lib")
require "isbn"

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
isbn-2.0.9 Rakefile