Sha256: c4dd68ed1f95b01b41a5ccf9ba6995099df1c26ebfcf52b8c3a7abd78da07999
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
require 'rake/gempackagetask' 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) Rake::GemPackageTask.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'] # t.files = FileList['spec/*.rb'] end desc 'Build documentation' task :doc do sh 'docco lib/gravtastic.rb' end CLEAN.add 'docs'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gravtastic-3.1.0 | Rakefile |