Created
April 26, 2014 10:55
-
-
Save mio991/11317085 to your computer and use it in GitHub Desktop.
A Sublime-Build file for golang
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
{ | |
"cmd": ["go", "build", "$file"], | |
"variants": | |
[ | |
{ | |
"name": "Run", | |
"cmd": ["go", "run", "$file"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/