francisco souza
5a59f896b9
gobin: make sure GOPATH gets trimmed before use in path.join
...
On Windows, `go env GOPATH` keeps the end-line character, making it
unusable (see sample build failure:
https://github.com/fsouza/vod-module-sprite/runs/478762225?check_suite_focus=true#step:5:62 ).
2020-03-01 23:59:03 -05:00
francisco souza
4241f446d8
gobin: use execFile instead of exec to query GOPATH
...
Should fix the behavior on Windows.
2020-03-01 22:07:49 -05:00
francisco souza
25c870be4d
Add $GOBIN
...
- Set $GOBIN to $(go env GOPATH)/bin
- Add $GOBIN to the PATH
Should make the setup of tools like golangci-lint or golint work with a
simple `go get`.
Using $GOBIN instead of $GOPATH/bin because the goal is to have GOPATH
not being directly referenced. Also, in the future, GOBIN will have a
default value too, so we would not need to manually set it, just add it
to the path (see discussion in golang/go#23439).
Closes #14 .
2020-03-01 21:18:28 -05:00
Bryan MacFarlane
768458bd0b
pre-release version and test
2020-02-10 19:18:01 -05:00
Bryan MacFarlane
43880314e9
CR feedback
2020-02-10 15:21:04 -05:00
Bryan MacFarlane
7ea80d8e5f
casing
2020-02-09 22:42:10 -05:00
Bryan MacFarlane
a6a701e18e
better user output
2020-02-09 22:39:44 -05:00
Bryan MacFarlane
6b10398c43
removed unneeded console.log
2020-02-09 19:30:05 -05:00
Bryan MacFarlane
6cb99a33d7
another test
2020-02-09 18:48:40 -05:00
Bryan MacFarlane
241a335117
mock os instead of system
2020-02-09 18:22:24 -05:00
Bryan MacFarlane
79b62adb05
another test and bugs
2020-02-09 18:09:15 -05:00
Bryan MacFarlane
f4b0281c15
mocked tests work with no internet
2020-02-09 09:25:20 -05:00
Bryan MacFarlane
3c844703e7
bugs
2020-02-09 08:44:32 -05:00
Bryan MacFarlane
dc575ee3b3
format
2020-02-09 00:29:21 -05:00
Bryan MacFarlane
4282769cc0
starting v2 and proxy support
2020-02-09 00:21:39 -05:00