Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 35 lines (24 sloc) 0.69 kB
5bd2c9f @grk Make specs pass on Rails 4.1
grk authored
1 begin
2 require 'bundler/setup'
3 rescue LoadError
4 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
7e06bea @drogus Converted tolk to mountable engine
drogus authored
5 end
6
5bd2c9f @grk Make specs pass on Rails 4.1
grk authored
7 require 'rdoc/task'
7e06bea @drogus Converted tolk to mountable engine
drogus authored
8
5bd2c9f @grk Make specs pass on Rails 4.1
grk authored
9 RDoc::Task.new(:rdoc) do |rdoc|
7e06bea @drogus Converted tolk to mountable engine
drogus authored
10 rdoc.rdoc_dir = 'rdoc'
11 rdoc.title = 'Tolk'
12 rdoc.options << '--line-numbers' << '--inline-source'
13 rdoc.rdoc_files.include('README.rdoc')
14 rdoc.rdoc_files.include('lib/**/*.rb')
15 end
16
5bd2c9f @grk Make specs pass on Rails 4.1
grk authored
17 APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18 load 'rails/tasks/engine.rake'
7e06bea @drogus Converted tolk to mountable engine
drogus authored
19
be0c96e @dhh First init
dhh authored
20
5bd2c9f @grk Make specs pass on Rails 4.1
grk authored
21
22 Bundler::GemHelper.install_tasks
23
24 require 'rake/testtask'
25
26 Rake::TestTask.new(:test) do |t|
27 t.libs << 'lib'
28 t.libs << 'test'
29 t.pattern = 'test/**/*_test.rb'
30 t.verbose = false
7e06bea @drogus Converted tolk to mountable engine
drogus authored
31 end
5bd2c9f @grk Make specs pass on Rails 4.1
grk authored
32
33
34 task default: :test
Something went wrong with that request. Please try again.