Sha256: ce56d28cd496450fe78c5676caf3c9c1d1ddb607c7c5cdde590467d556054f3a

Contents?: true

Size: 441 Bytes

Versions: 6

Compression:

Stored size: 441 Bytes

Contents

require 'rubygems/package_task'
require 'rake/clean'
require 'rspec/core/rake_task'

def name
  @name ||= File.basename(Dir['*.gemspec'].first, '.gemspec')
end

def gemspec_file
  "#{name}.gemspec"
end

load(gemspec_file)

Gem::PackageTask.new(@spec) do |t|
  t.need_tar = true
  t.need_zip = true
end
CLEAN.add 'pkg'

require 'spec/rake/spectask'
RSpec::Core::RakeTask.new do |t|
  t.rspec_opts = ['--color', '--require ./spec/helper']
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gravtastic-3.2.6 Rakefile
gravtastic-3.2.5 Rakefile
gravtastic-3.2.4 Rakefile
gravtastic-3.2.2 Rakefile
gravtastic-3.2.1 Rakefile
gravtastic-3.2.0 Rakefile