forked from berkmancenter/lumendatabase
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
27 lines (20 loc) · 672 Bytes
/
Rakefile
File metadata and controls
27 lines (20 loc) · 672 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
#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
Chill::Application.load_tasks
if defined?(RSpec)
task(:spec).clear
desc "Run ingestor specs"
RSpec::Core::RakeTask.new(:ingestor) do |t|
t.pattern = 'spec/lib/ingestor/**/*_spec.rb'
end
desc "Run specs excluding elasticsearch"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = '--tag "~search"'
end
desc "Run all specs"
RSpec::Core::RakeTask.new(:all)
end
task(:default).clear
task default: :all