Sha256: 34b5bff95e3ba50d3aef5ea81b08cde5ccfee8b8fa29bbdefbf8d53e26243671

Contents?: true

Size: 517 Bytes

Versions: 4

Compression:

Stored size: 517 Bytes

Contents

require 'rake'
require 'rake/gempackagetask'
require 'rake/testtask'

desc 'Run tests'
Rake::TestTask.new(:test) do |t|
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

spec = eval(File.read('ricogen.gemspec'))
Rake::GemPackageTask.new(spec) do |pkg|
  pkg.gem_spec = spec
end

desc "Build and install local gem"
task "local" => "repackage" do
  puts "Installing locally... this might take a second"
  puts `gem install pkg/ricogen-#{File.read('VERSION').strip}.gem --no-ri --no-rdoc`
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
patcito-ricogen-0.3 Rakefile
ricogen-0.5 Rakefile
ricogen-0.4 Rakefile
ricogen-0.3 Rakefile