Vendoring for executables written in Go
In go1.9+, GOPATH might not be set, and the Go tool will still work. This release updates retool to work under those circumstances. This is #38.
This release includes #42, which fixes gometalinter when it has been referenced through gopkg.in.
This release fixes a longstanding bug when working with forked version sof tools: we should remove a forked repo only if it already exists. This was fixed in #33.
Tools that depend upon C source code (.c
and .h
files, specifically) will now work, as those source files will now be preserved by retool. This is PR #31, and fixes issue #30.
As described in #28, retool build
and its kin would install binaries to GOBIN if it was explicitly set. This is not generally what people want; instead, retool will now always install binaries to its own _tools/bin
directory, regardless of the value of the GOBIN environment variable.
github.com/vattle/sqlboiler is a project which expects a template directory to be present on disk. In order to support it, this version of retool adds a special exemption to keep that directory when pruning out unused files. This was PR #25.
This release includes #24, which fixes retool sync on Windows. Previously, retool would call rm
instead of using os.RemoveAll
.
Now, retool will record its own version in the manifest file. This brings no change in behavior, but should set the stage to let us make forward changes while preserving backwards compatibility well.
This release includes two PRs: #12 and #15.
#15 fixes retool to support github.com/alecthomas/gometalinter. The retool do
command now appends the _tools
directory to GOPATH
when it runs subcommands, and it sets GOBIN
to _tools/bin
. In addition, when syncing, retool will preserve the linters vendored by gometalinter in its _linters
directory, so retool do gometalinter
will work without hassle.
#12 removes uses of retool's cache. This might make things a tad slower when adding lots of tools for the first time, but should eliminate a large class of bugs.
This minor version bump now makes sure legal files are preserved and kept in the _tools subdirectory. It won't do a perfect job, but it should cover most cases.