sublime-build: Provide specific prompts for missing GOPATH/GOROOT

The new build of sublime-config raises exceptions if the GOPATH or
GOROOT can not be found on disk. This update handles these new
exceptions and presents them to the user.

Change-Id: I4a7589fa9fae8cdf5d2d2025d4ad16026e78f579
Reviewed-on: https://go-review.googlesource.com/16571
Reviewed-by: Jason Buberel <jbuberel@google.com>
2 files changed
tree: 5d54d8e1330923fa271fc7e4a671fc8346e004e5
  1. dev/
  2. docs/
  3. .gitignore
  4. .pep8
  5. AUTHORS
  6. changelog.md
  7. CONTRIBUTING.md
  8. CONTRIBUTORS
  9. Default.sublime-commands
  10. dependencies.json
  11. Go.sublime-build
  12. Golang Build Output.tmLanguage
  13. golang_build.py
  14. LICENSE
  15. PATENTS
  16. readme.md
readme.md

Golang Build

Golang Build is a Sublime Text package for compiling Go projects. It provides integration between Sublime Text and the command line go tool.

The package consists of the following features:

  • A Sublime Text build system for executing:
    • go build
    • go run
    • go install
    • go test
    • go clean
    • Cross-compilation using go build with GOOS and GOARCH
  • Sublime Text command palette commands to:
    • Execute go get
    • Open a terminal into a Go workspace

Installation

The Golang Build package is installed by using Package Control.

  • If Package Control is not installed, follow the Installation Instructions
  • Open the Sublime Text command palette and run the Package Control: Install Package command
  • Type Golang Build and select the package to perform the installation

Documentation

End User

Contributor