Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 41 lines (31 sloc) 0.8 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
23 APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
24 load 'rails/tasks/engine.rake'
25
26
27
28 Bundler::GemHelper.install_tasks
29
30 require 'rake/testtask'
31
32 Rake::TestTask.new(:test) do |t|
33 t.libs << 'lib'
34 t.libs << 'test'
35 t.pattern = 'test/**/*_test.rb'
36 t.verbose = false
37 end
38
39
40 task :default => :test
Something went wrong with that request. Please try again.