-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathRakefile
More file actions
28 lines (23 loc) · 674 Bytes
/
Copy pathRakefile
File metadata and controls
28 lines (23 loc) · 674 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require "bundler/gem_tasks"
task default: :test
begin
require 'rspec/core'
require 'rspec/core/rake_task'
desc 'Run RSpec test for the activity_notification plugin.'
RSpec::Core::RakeTask.new(:test) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
rescue LoadError
end
begin
require 'yard'
require 'yard/rake/yardoc_task'
desc 'Generate documentation for the activity_notification plugin.'
YARD::Rake::YardocTask.new do |doc|
doc.files = ['app/**/*.rb', 'lib/**/*.rb']
end
rescue LoadError
end
Bundler::GemHelper.install_tasks
require File.expand_path('../spec/rails_app/config/application', __FILE__)
Rails.application.load_tasks