Commit Graph

19 Commits (4241f446d8252957adca8da8011622cad873c66e)

Author SHA1 Message Date
francisco souza 4241f446d8
gobin: use execFile instead of exec to query GOPATH
Should fix the behavior on Windows.
5 years ago
francisco souza 0dbc2e7f12
Fix tests for gobin on Windows 5 years ago
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.
5 years ago
Bryan MacFarlane 768458bd0b pre-release version and test 6 years ago
Bryan MacFarlane 43880314e9 CR feedback 6 years ago
Bryan MacFarlane 7d57e56d4d update tests 6 years ago
Bryan MacFarlane 6cb99a33d7 another test 6 years ago
Bryan MacFarlane 241a335117 mock os instead of system 6 years ago
Bryan MacFarlane 79b62adb05 another test and bugs 6 years ago
Bryan MacFarlane 7af81a4a65 bit of cleanup 6 years ago
Bryan MacFarlane f4b0281c15 mocked tests work with no internet 6 years ago
Bryan MacFarlane dc575ee3b3 format 6 years ago
Bryan MacFarlane 4282769cc0 starting v2 and proxy support 6 years ago
Alif Rachmawadi bc6edb526d
update test assertion 6 years ago
Alif Rachmawadi 21620fff65
use golang-dl release data 6 years ago
Alif Rachmawadi 632d18fc92 Handle .x version syntax with latest release (#13)
* get latest release for .x syntax version

* added nock as dev dependency

* added test for .x syntax

* updated readme

* updated http client name

* use rest client for getting available versions

* more .x handling

* move nock to setup and teardown
6 years ago
Stephen Franceschelli 136ed85710 Fix build. (#7)
* Fix.

* Husky commit correct node modules
6 years ago
Danny McCormick f34fd68566 Add installer 6 years ago
Danny McCormick cd176c696b Add setup-go 6 years ago