Skip to content

Instantly share code, notes, and snippets.

@mio991
Created April 26, 2014 10:55
Show Gist options
  • Save mio991/11317085 to your computer and use it in GitHub Desktop.
Save mio991/11317085 to your computer and use it in GitHub Desktop.
A Sublime-Build file for golang
{
"cmd": ["go", "build", "$file"],
"variants":
[
{
"name": "Run",
"cmd": ["go", "run", "$file"]
}
]
}
@mio991
Copy link
Author

mio991 commented Apr 26, 2014

Copy this file to your "%APPDATA%\Sublime Text 2\Packages\Go" directory to enable Sublime to build and run Go programms.

You need the Go installation for this:
http://go.googlecode.com/

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