Sha256: f5d21cdbadabe956fa857a055f3eac5fe112c78fee2aab617fd4f78d426d9bca

Contents?: true

Size: 455 Bytes

Versions: 14

Compression:

Stored size: 455 Bytes

Contents

require "bundler"
Bundler.setup

require "rspec"
require "rspec/core/rake_task"

Rspec::Core::RakeTask.new(:spec)

gemspec = eval(File.read(File.join(Dir.pwd, "ruby_reportable.gemspec")))

task :build => "#{gemspec.full_name}.gem"

task :test => :spec

file "#{gemspec.full_name}.gem" => gemspec.files + ["ruby_reportable.gemspec"] do
  system "gem build ruby_reportable.gemspec"
  system "gem install ruby_reportable-#{RubyReportable::VERSION}.gem"
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
ruby_reportable-0.5.1 Rakefile
ruby_reportable-0.5.0 Rakefile
ruby_reportable-0.4.3 Rakefile
ruby_reportable-0.4.2 Rakefile
ruby_reportable-0.4.1 Rakefile
ruby_reportable-0.4.0 Rakefile
ruby_reportable-0.3.1 Rakefile
ruby_reportable-0.3.0 Rakefile
ruby_reportable-0.2.0 Rakefile
ruby_reportable-0.1.3.1 Rakefile
ruby_reportable-0.1.3 Rakefile
ruby_reportable-0.1.2 Rakefile
ruby_reportable-0.1.1 Rakefile
ruby_reportable-0.1.0 Rakefile