Skip to content

Instantly share code, notes, and snippets.

@wtnabe
Last active September 27, 2015 02:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wtnabe/1194879 to your computer and use it in GitHub Desktop.
Save wtnabe/1194879 to your computer and use it in GitHub Desktop.
sample rake task for invoking jshint4r
if system( 'which jshint4r > /dev/null' )
desc "jshint"
task :jshint do
exit system( 'jshint4r -c config/jshint.yml -r compilation' )
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment