-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated all commands to use TM_* variables to locate necessary execut…
…ables 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.
- Loading branch information
1 parent
0ff2ffb
commit ca55b4c
Showing
8 changed files
with
149 additions
and
114 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
Tabs options are reversed. Formats with hard tabs when soft tabs are selected in editor and vice versa. Swapping -tabs=true and -tabs=false fixes it.