about summary refs log tree commit diff stats
path: root/Rakefile
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-16 18:46:55 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-16 18:46:55 -0400
commit5e62e771bf14f58dd1622d2e3631309caa201349 (patch)
tree76143baae833a4cfe0e05cefb18b5a31d15b74e9 /Rakefile
downloadpokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.tar.gz
pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.tar.bz2
pokeviewer-5e62e771bf14f58dd1622d2e3631309caa201349.zip
Initial commit
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile new file mode 100644 index 0000000..4b90461 --- /dev/null +++ b/Rakefile
@@ -0,0 +1,36 @@
1begin
2 require 'bundler/setup'
3rescue LoadError
4 puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5end
6
7require 'rdoc/task'
8
9RDoc::Task.new(:rdoc) do |rdoc|
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