Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #14 from gds-operations/syntax_checks
Browse files Browse the repository at this point in the history
Add syntax checks to `rake test`
  • Loading branch information
philandstuff committed Dec 17, 2013
2 parents 742986b + 7fe81f9 commit d94a9cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ source "http://rubygems.org"
gem 'puppet', ENV['PUPPET_VERSION'] || '~> 3.2.0'

gem "rake"
gem "puppet-syntax"
gem "puppet-lint"
gem "rspec-puppet"
gem "puppetlabs_spec_helper"
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
require 'puppet-syntax/tasks/puppet-syntax'

PuppetLint.configuration.log_format = "%{path}:%{linenumber}:%{check}:%{KIND}:%{message}"
PuppetLint.configuration.fail_on_warnings = true
Expand All @@ -19,6 +20,7 @@ PuppetLint.configuration.ignore_paths = exclude_paths

desc "Run syntax, lint, and spec tests."
task :test => [
:syntax,
:lint,
:spec,
]

0 comments on commit d94a9cb

Please sign in to comment.