puppet-swift/Rakefile
Dan Bode 2dbcf740df Add everything needed by travis-ci
This commit adds all of the config files
needed for travisci
2012-02-27 16:52:49 -08:00

22 lines
401 B
Ruby

require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
task :default do
system("rake -T")
end
task :specs => [:spec]
desc "Run all rspec-puppet tests"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ['--color']
# ignores fixtures directory.
t.pattern = 'spec/{classes,defines,unit}/**/*_spec.rb'
end
desc "Build package"
task :build do
system("puppet-module build")
end