Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 38 lines (31 sloc) 0.843 kB
28ad38d @kookster Initial commit for badges_engine
kookster 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 RDoc::Task.new(:rdoc) do |rdoc|
15 rdoc.rdoc_dir = 'rdoc'
16 rdoc.title = 'BadgesEngine'
17 rdoc.options << '--line-numbers'
18 rdoc.rdoc_files.include('README.rdoc')
19 rdoc.rdoc_files.include('lib/**/*.rb')
20 end
21
22 APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
23 load 'rails/tasks/engine.rake'
24
25
26 Bundler::GemHelper.install_tasks
27
28 require 'rake'
29 require 'rspec/core'
30 require 'rspec/core/rake_task'
31
32
33 RSpec::Core::RakeTask.new(:spec) do |spec|
34 spec.pattern = FileList['spec/**/*_spec.rb']
35 end
36
37 desc 'Default: Run all specs.'
38 task :default => :spec
Something went wrong with that request. Please try again.