Last active
December 18, 2015 23:09
RunBuild command to invoke a build system for Sublime Text 2 (windows), see http://www.bit-101.com/blog/?p=3439
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
import sublime | |
import sublime_plugin | |
class RunBuildCommand(sublime_plugin.WindowCommand): | |
def run(self, build_system): | |
self.window.run_command( "set_build_system", {"file": "Packages/User/"+build_system+".sublime-build" } ) | |
self.window.run_command( "build" ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment