about summary refs log tree commit diff stats
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile38
1 files changed, 4 insertions, 34 deletions
diff --git a/Rakefile b/Rakefile index 4b90461..9a5ea73 100644 --- a/Rakefile +++ b/Rakefile
@@ -1,36 +1,6 @@
1begin 1# Add your own tasks in files placed in lib/tasks ending in .rake,
2 require 'bundler/setup' 2# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3rescue LoadError
4 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5end
6 3
7require 'rdoc/task' 4require_relative "config/application"
8 5
9RDoc::Task.new(:rdoc) do |rdoc| 6Rails.application.load_tasks
10 rdoc.rdoc_dir = 'rdoc'
11 rdoc.title = 'Pokeviewer'
12 rdoc.options << '--line-numbers'
13 rdoc.rdoc_files.include('README.md')
14 rdoc.rdoc_files.include('lib/**/*.rb')
15end
16
17APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18load 'rails/tasks/engine.rake'
19
20
21load 'rails/tasks/statistics.rake'
22
23
24
25require 'bundler/gem_tasks'
26
27require 'rake/testtask'
28
29Rake::TestTask.new(:test) do |t|
30 t.libs << 'test'
31 t.pattern = 'test/**/*_test.rb'
32 t.verbose = false
33end
34
35
36task default: :test