Skip to content

Instantly share code, notes, and snippets.

@superscott
Created April 11, 2014 21:54
Show Gist options
  • Save superscott/10504685 to your computer and use it in GitHub Desktop.
Save superscott/10504685 to your computer and use it in GitHub Desktop.
rake
desc 'Validating JavaScript with Ant /lib/tasks/js_validate/'
task 'validate:javascript' do
puts 'Validating JavaScript with Ant /lib/tasks/js_validate/'
puts `cd #{Rails.root}/lib/tasks/js_validate/ && ant validate-javascript`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment