Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.443 kB
require 'rake/clean'
require 'puppet-lint/tasks/puppet-lint'
require 'rspec/core/rake_task'
CLEAN.include('pkg')
PuppetLint.configuration.send("disable_80chars")
desc "Run module RSpec tests."
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ["--format", "doc", "--color"]
t.pattern = 'spec/*/*_spec.rb'
end
desc "Create a Puppet module."
task :build => [:clean, :spec] do
sh 'puppet-module build'
end
task :default => :build
Jump to Line
Something went wrong with that request. Please try again.