Sha256: f3e8298ce0a30b41af65bec22452c6b78b1f6dccf391c94b722088bf9baae83e

Contents?: true

Size: 673 Bytes

Versions: 3

Compression:

Stored size: 673 Bytes

Contents

require 'rake/clean'
require 'rdoc/task'

CLOBBER.include('*.gem')

task :default do
  puts 'Run "rake spec" in the "example_app" directory to perform tests.'
end

desc 'Generate documentation for the datatable plugin.'
Rake::RDocTask.new(:rdoc => 'rdoc', :clobber_rdoc => "rdoc:clobber", :rerdoc => 'rdoc:force') do |rdoc|
  rdoc.rdoc_dir = 'docs'
  rdoc.title    = 'Datatable'
  rdoc.options  << "--all"
  rdoc.rdoc_files.include('README.md')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

desc "build gem"
task :build do
  system "gem build datatable.gemspec"
end

desc "publish gem"
task :release => :build do
  system "gem push datatable-#{Datatable::VERSION}.gem"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
datatable-0.1.1alpha4 Rakefile
datatable-0.1.1alpha1 Rakefile
datatable-0.1.0alpha2 Rakefile