forked from vamsee/puppet-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
23 lines (19 loc) · 764 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'rspec/core/rake_task'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.ignore_paths = ["pkg/**/*.pp",
"templates/**/*.*",
"files/**/*.*",
"spec/**/*.*",
"vendor/**/*.*",
"vagrant/**/*.pp"]
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = FileList['spec/*/*_spec.rb'].exclude('spec/system/*_spec.rb')
end
RSpec::Core::RakeTask.new("spec:system") do |t|
t.pattern = 'spec/system/*_spec.rb'
end
RSpec::Core::RakeTask.new("spec:all") do |t|
t.pattern = 'spec/*/*_spec.rb'
end
task :default => ["spec", "lint"]