infininight/go-tmbundle — pull request #1 by whitlockjc (2012-10-19 03:12:41+00:00)
Title: Updated all commands to use TM_* variables to locate necessary executables and TM_GOPATH.

Updated all commands to use TM_* variables to locate necessary executables and TM_GOPATH.

* Commands/Build.tmCommand: Deleted as it's functionality is identical to
Compile.tmCommand. I discussed this with Alan Q. before doing so.
* Commands/Tidy.tmCommand: Deleted.
* Commands/Reformat Document.tmCommand: Renamed from location/name above.
* Support/goerrs
(Go::link_errs): Fixed bug where the file location in the link was wrong and updated
to work with both compile errors and syntax errors when formatting.
* Support/gomate.rb
(Go::get_package_name, get_target_name): Deleted as for now, we should
start simple and only run 'go [build|run]' against single files. (Later
we could create new commands that do stuff at the package/application
level but until we make that distinction, keep it simple.)
(Go::launch): Deleted.
(Go::go): Renamed from Go::launch and updated to use TM_GO when available.
(Go::format): Deleted.
(Go::gofmt): Renamed from Go::format, updated to use TM_GOFMT when available
and updated to properly handle parser errors when formatting.
(Go::godoc): Added, uses TM_GODOC when available and updated to properly
handle errors when retrieving documentation.