Skip to content

Instantly share code, notes, and snippets.

@noplanman
Created October 27, 2015 05:40
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 noplanman/8be3d054410fc3c44122 to your computer and use it in GitHub Desktop.
Save noplanman/8be3d054410fc3c44122 to your computer and use it in GitHub Desktop.
Sublime build system for PHPUnit. Either copy this file directly to your Sublime user folder or create a new build system (Tools->Build System->New Build System...).
{
"shell_cmd": "while [ ! -f phpunit.xml.dist ] && [ ! -f phpunit.xml ]; do if [[ `pwd` != '/' ]]; then cd ..; else echo 'No phpunit test config found.'; exit 0; fi; done; phpunit;"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment