Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 385 Bytes
#!/usr/bin/env rake
require "bundler/gem_tasks"
require "rake/testtask"
desc 'Verify that nothing is broken against the simple solo example'
task :test do
Dir.chdir('./examples/simple-solo') do
sh 'ruby -I../../lib -S chef-solo -c solo.rb -j dna.json'
end
end
Rake::TestTask.new do |t|
t.name = 'spec'
t.pattern = 'spec/**/*_spec.rb'
end
task :default => [:spec, :test]