Skip to content

Instantly share code, notes, and snippets.

@gh640
Created January 3, 2014 03:51
Show Gist options
  • Save gh640/8232377 to your computer and use it in GitHub Desktop.
Save gh640/8232377 to your computer and use it in GitHub Desktop.
Sublime Text 2 PHP build config file to run php scripts on ~/.bashrc setting.
{
// "cmd": ["php", "$file"],
// Enable config in ~/.bashrc
"shell": true,
"cmd": ["source ~/.bashrc && php $file"],
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.php"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment