#!/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]