fuel-library/deployment/puppet/memcached/Rakefile
Eugene Kirpichov 7d45dfd343 Initial commit
2012-09-07 17:38:58 -07:00

19 lines
389 B
Ruby

require 'rubygems'
require 'rake'
require 'rspec/core/rake_task'
task :default => [:spec]
desc "Run all module spec tests (Requires rspec-puppet gem)"
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