Sha256: bd1f7433be7c4c5e5b4f73d2fcbd09d38601f9841a6ad1766df99bb62b708f66

Contents?: true

Size: 439 Bytes

Versions: 3

Compression:

Stored size: 439 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, "bbcoder.gemspec")))

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

task :test => :spec
task :default => :spec

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bbcoder-1.1.1 Rakefile
bbcoder-1.1.0 Rakefile
bbcoder-1.0.1 Rakefile