Sha256: 47dccde78dd6221bbaef04fbd904884c72f9822df7ff23c21663912b61255879

Contents?: true

Size: 571 Bytes

Versions: 14

Compression:

Stored size: 571 Bytes

Contents

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

desc 'Default: run unit tests.'
task :default => :test

desc 'Test the king_format plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.libs << 'test'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end

desc 'Generate documentation for the king_format plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'KingFormat'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
king_views-1.2.0 king_format/Rakefile
king_views-1.1.6 king_format/Rakefile
king_views-1.1.5 king_format/Rakefile
king_views-1.1.4 king_format/Rakefile
king_views-1.1.3 king_format/Rakefile
king_views-1.1.2 king_format/Rakefile
king_views-1.1.1 king_format/Rakefile
king_views-1.1.0 king_format/Rakefile
king_views-1.0.5 king_format/Rakefile
king_views-1.0.4 king_format/Rakefile
king_views-1.0.3 king_format/Rakefile
king_views-1.0.2 king_format/Rakefile
king_views-1.0.1 king_format/Rakefile
king_views-1.0.0 king_format/Rakefile