Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (25 sloc) 0.677 kB
8ccc719 @joshuaclayton Initial commit
joshuaclayton 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
14
15 RDoc::Task.new(:rdoc) do |rdoc|
16 rdoc.rdoc_dir = 'rdoc'
17 rdoc.title = 'JackUp'
18 rdoc.options << '--line-numbers'
19 rdoc.rdoc_files.include('README.rdoc')
20 rdoc.rdoc_files.include('lib/**/*.rb')
21 end
22
c7ca2c3 @joshuaclayton Add initial integration specs
joshuaclayton authored
23 APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
8ccc719 @joshuaclayton Initial commit
joshuaclayton authored
24 load 'rails/tasks/engine.rake'
25
26 Bundler::GemHelper.install_tasks
27
c7ca2c3 @joshuaclayton Add initial integration specs
joshuaclayton authored
28 RSpec::Core::RakeTask.new(:spec)
8ccc719 @joshuaclayton Initial commit
joshuaclayton authored
29
c7ca2c3 @joshuaclayton Add initial integration specs
joshuaclayton authored
30 task :default => :spec
Something went wrong with that request. Please try again.