Last active
August 29, 2015 14:11
-
-
Save depau/e3e60c279b45db8c5efb to your computer and use it in GitHub Desktop.
Sublime Text 3 Buildozer Build System
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
{ | |
"shell_cmd": "cd \"${file_path}\"; buildozer android debug 2>&1 | sed -u 's/\\x1B\\[[0-9;]*[JKmsu]//g'", | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"shell_cmd": "python \"${file_path}/main.py\" |& sed -u 's/\\x1B\\[[0-9;]*[jkmsu]//g'" | |
}, | |
{ | |
"name": "Build debug, deploy and run (remote)", | |
"shell_cmd": "cd \"${file_path}\"; buildozer android debug deploy run |& sed -u 's/\\x1B\\[[0-9;]*[JKmsu]//g'" | |
}, | |
{ | |
"name": "Build release", | |
"shell_cmd": "cd \"${file_path}\"; buildozer android release |& sed -u 's/\\x1B\\[[0-9;]*[JKmsu]//g'" | |
}, | |
{ | |
"name": "Deploy and run (remote)", | |
"shell_cmd": "cd \"${file_path}\"; buildozer android deploy run |& sed -u 's/\\x1B\\[[0-9;]*[JKmsu]//g'" | |
}, | |
{ | |
"name": "Deploy", | |
"shell_cmd": "cd \"${file_path}\"; buildozer android deploy |& sed -u 's/\\x1B\\[[0-9;]*[jkmsu]//g'" | |
}, | |
{ | |
"name": "Run (remote)", | |
"shell_cmd": "cd \"${file_path}\"; buildozer android run |& sed -u 's/\\x1B\\[[0-9;]*[jkmsu]//g'" | |
}, | |
{ | |
"name": "Serve", | |
"shell_cmd": "cd \"${file_path}\"; buildozer serve |& sed -u 's/\\x1B\\[[0-9;]*[jkmsu]//g'" | |
} | |
] | |
} |
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
[ | |
{ "keys": ["super+r"], "command": "build", "args": {"variant": "Build release"} }, | |
{ "keys": ["super+b"], "command": "build", "args": {"variant": "Build debug, deploy and run (remote)"} }, | |
{ "keys": ["super+shift+b"], "command": "build", "args": {"variant": "Deploy and run (remote)"} }, | |
{ "keys": ["super+e"], "command": "build", "args": {"variant": "Serve"} }, | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment