Created
May 13, 2020 18:10
-
-
Save heybdj/46874f6e0e034c37e28cc80b98a6722f to your computer and use it in GitHub Desktop.
A basic build system for Bake in Sublime Text 3
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": "bake", // https://github.com/SanderMertens/bake | |
"keyfiles": [ "project.json" ], | |
"working_dir": "${project_path:${folder}}", | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
// The ANSIescape package (installed via Package Control) is | |
// required to support the ANSI escape colour codes used by | |
// the Bake build system. Without it, Sublime's console is | |
// littered with visible escape codes like "<0x1b>". | |
// | |
// Package Control: https://packagecontrol.io/packages/ANSIescape | |
// GitHub: https://github.com/aziz/SublimeANSI | |
"target": "ansi_color_build", | |
"syntax": "Packages/ANSIescape/ANSI.sublime-syntax", | |
"variants": [ | |
{ | |
"name": "Build", | |
"shell_cmd": "bake build" | |
}, | |
{ | |
"name": "Rebuild", | |
"shell_cmd": "bake rebuild" | |
}, | |
{ | |
"name": "Run", | |
"shell_cmd": "bake run" | |
}, | |
{ | |
"name": "Rebuild (Trace Output)", | |
"shell_cmd": "bake rebuild --trace" | |
}, | |
{ | |
"name": "Rebuild (Debug Output)", | |
"shell_cmd": "bake rebuild --debug" | |
}, | |
{ | |
"name": "Run (with Flecs Admin)", | |
"shell_cmd": "bake run -a --admin 9090" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment