mirror of
https://github.com/mcasimir/kaminari-bootstrap.git
synced 2022-11-09 13:46:52 -05:00
initial commit
This commit is contained in:
parent
ab5dfd072b
commit
489dbeb319
16 changed files with 241 additions and 82 deletions
29
Rakefile
29
Rakefile
|
|
@ -23,31 +23,4 @@ Jeweler::Tasks.new do |gem|
|
|||
gem.authors = ["mcasimir"]
|
||||
# dependencies defined in Gemfile
|
||||
end
|
||||
Jeweler::RubygemsDotOrgTasks.new
|
||||
|
||||
require 'rake/testtask'
|
||||
Rake::TestTask.new(:test) do |test|
|
||||
test.libs << 'lib' << 'test'
|
||||
test.pattern = 'test/**/test_*.rb'
|
||||
test.verbose = true
|
||||
end
|
||||
|
||||
require 'rcov/rcovtask'
|
||||
Rcov::RcovTask.new do |test|
|
||||
test.libs << 'test'
|
||||
test.pattern = 'test/**/test_*.rb'
|
||||
test.verbose = true
|
||||
test.rcov_opts << '--exclude "gems/*"'
|
||||
end
|
||||
|
||||
task :default => :test
|
||||
|
||||
require 'rdoc/task'
|
||||
Rake::RDocTask.new do |rdoc|
|
||||
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
||||
|
||||
rdoc.rdoc_dir = 'rdoc'
|
||||
rdoc.title = "kaminari-bootstrap #{version}"
|
||||
rdoc.rdoc_files.include('README*')
|
||||
rdoc.rdoc_files.include('lib/**/*.rb')
|
||||
end
|
||||
Jeweler::RubygemsDotOrgTasks.new
|
||||
Loading…
Add table
Add a link
Reference in a new issue