Skip to content

Instantly share code, notes, and snippets.

@pixelbrackets
Created March 11, 2013 11:26
Show Gist options
  • Save pixelbrackets/5133596 to your computer and use it in GitHub Desktop.
Save pixelbrackets/5133596 to your computer and use it in GitHub Desktop.
Sublime 2 Phing Package
{
// Installation: Move into package folder (~/.config//sublime-text-2/Packages/Phing/Phing.sublime-build)
// Usage: Select »Phing« in »Build System«, hit »Strg+B« to build
// Package depends on a sublime project → The project root is a git repository (~/git/hello-world/), the phing files need to be stored inside a »build« subdirectory (~/git/hello-world/build/)
"selector": "phing",
"working_dir":"$file_path",
"shell":true,
"cmd": ["date -u; phing -buildfile ${project_path}/build/build.xml -propertyfile ${project_path}/build/build.properties deploy:local"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment