Created
November 30, 2015 11:55
-
-
Save lummie/f451416a506d30b89a6f to your computer and use it in GitHub Desktop.
GoSublime User settings for build / test on Save
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
{ | |
"on_save": [{ | |
"cmd": "gs9o_run_many", "args": { | |
"commands":[ | |
["clear"], | |
["sh", "if [ -f onsave.sh ]; then ./onsave.sh; else gofmt -s -w ./ && go build . errors && go test -i && go test && go vet && golint ; fi"] | |
], | |
"focus_view": false | |
} | |
}], | |
"fmt_cmd": ["goimports"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dependent tools