Skip to content

Instantly share code, notes, and snippets.

@sourcerebels
Created November 22, 2011 15:14
Show Gist options
  • Save sourcerebels/1385895 to your computer and use it in GitHub Desktop.
Save sourcerebels/1385895 to your computer and use it in GitHub Desktop.
Sublime Text 2 configuration file for different build systems

Supported Build Systems

  • Gradle.
  • Grails.

On Ubuntu

  • Copy *.sublime-build at this location:
$HOME/.config/sublime-text-2/Packages/User
  • Restart Sublime Text 2.
  • Open your Grails project.
  • Select “Grails” under “Tools” > “Build System”.
  • Run tests just pressing ctrl+B.
{
"cmd": ["gradle", "test"],
"working_dir": "$project_path"
}
{
"cmd": ["grails", "test-app"],
"working_dir": "$project_path"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment