Add Rakefile for running spec tests

This commit is contained in:
Dan Bode 2012-03-30 01:13:21 -07:00
parent 5e9db74a25
commit af46891c91
1 changed files with 14 additions and 0 deletions

14
Rakefile Normal file
View File

@ -0,0 +1,14 @@
require 'rake'
task :default => [:spec]
desc "Run all module spec tests (Requires rspec-puppet gem)"
task :spec do
system("rspec spec/**/*_spec.rb")
end
desc "Build package"
task :build do
system("puppet-module build")
end