Last active
January 25, 2016 08:53
-
-
Save arsham/6631226 to your computer and use it in GitHub Desktop.
Sublime Text 2/3 mysql build system.
Change USERNAME, PASSWORD, DATABASE and the output file to your needs.
Note: on cmd line, change "subl3" to proper application name.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"cmd": ["mysql -u USERNAME -pPASSWORD DATABASE -t < $file >> /tmp/output.sql ; subl3 /tmp/output.sql"], | |
"selector": "source.sql", | |
"shell" : true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment