Skip to content

Instantly share code, notes, and snippets.

@bscott
Created December 9, 2012 00:24
Show Gist options
  • Save bscott/4242705 to your computer and use it in GitHub Desktop.
Save bscott/4242705 to your computer and use it in GitHub Desktop.
Chef Testing Part 2.1 - validate-repository.
echo "Checking for Ruby syntax errors..."
find . \( -name *.rb -or -name Vagrantfile \) -exec echo "Checking syntax of {}" \; -exec ruby -c {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment