Skip to content

Instantly share code, notes, and snippets.

@Machx
Created August 19, 2012 16:55
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Machx/3396229 to your computer and use it in GitHub Desktop.
Save Machx/3396229 to your computer and use it in GitHub Desktop.
Go Sublime Text 2 Build System
{
"cmd": ["/usr/local/go/bin/go","build","$file"],
"selector" : "source.go",
"variants": [
{ "cmd": ["/usr/local/go/bin/go", "run", "$file"],
"name": "Run"
}
]
}
@Machx
Copy link
Author

Machx commented Aug 19, 2012

Build Go Flie: Command + B
Run Go File: Command + Shift + B

@varun06
Copy link

varun06 commented Oct 18, 2014

Thanks, works as expected in ST3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment