Golang Build: When flags are passed, replace default

Previously, any flags that were provided to a command via settings
or parameters would be appended to the default flag of "-v". With
this change, if any flags are provided, the default is omitted.
This gives complete control of flags to the user.

Change-Id: Icad35a51d7444f7799989a9831a996ec798b2bf6
Reviewed-on: https://go-review.googlesource.com/16252
Reviewed-by: Jason Buberel <jbuberel@google.com>
2 files changed
tree: d6c3f7f3c28f448e186f9ab1a78339af201c7769
  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 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