Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 30 lines (25 sloc) 0.634 kB
c6c59e9 @lunks initial commit
lunks authored
1 #!/usr/bin/env rake
2 begin
3 require 'bundler/setup'
4 rescue LoadError
5 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6 end
7 begin
8 require 'rdoc/task'
9 rescue LoadError
10 require 'rdoc/rdoc'
11 require 'rake/rdoctask'
12 RDoc::Task = Rake::RDocTask
13 end
10b88bc @rodrigopinto Add rake task to rake spec be default.
rodrigopinto authored
14 require 'rake/testtask'
15 require 'rspec/core/rake_task'
c6c59e9 @lunks initial commit
lunks authored
16
17 RDoc::Task.new(:rdoc) do |rdoc|
18 rdoc.rdoc_dir = 'rdoc'
19 rdoc.title = 'StaticContent'
20 rdoc.options << '--line-numbers'
21 rdoc.rdoc_files.include('README.rdoc')
22 rdoc.rdoc_files.include('lib/**/*.rb')
23 end
24
10b88bc @rodrigopinto Add rake task to rake spec be default.
rodrigopinto authored
25 RSpec::Core::RakeTask.new
26 task :default => [:spec]
c6c59e9 @lunks initial commit
lunks authored
27
28 Bundler::GemHelper.install_tasks
29
Something went wrong with that request. Please try again.