Skip to content

Commit afa6df1

Browse files
committed
[GH-30][GH-50] Add goenv-exec CHANGELOG entry
1 parent 73cd0ac commit afa6df1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ It does not attempt to manage when version is `system`.
6363
(`goenv rehash` when `eval $(goenv init -)` was previously executed).
6464
Configured via `GOENV_GOPATH_PREFIX=<your prefix>`.
6565
E.g `GOENV_GOPATH_PREFIX=/tmp`.
66+
Default managed `GOPATH` is `$HOME/go`.
6667
; Ref: https://github.com/syndbg/goenv/pull/70
6768
* Add `--only-manage-paths` option to `goenv-sh-rehash` (`goenv rehash` when `eval $(goenv init -)` was previously executed) to skip calling `goenv-rehash` and update shims.
6869
Instead it only updates managed `GOPATH` and `GOROOT` env variables.
@@ -75,6 +76,11 @@ It does not attempt to manage when version is `system`.
7576
This means that it'll export and manage `GOROOT` and `GOPATH` env vars.
7677
It does not attempt to manage when version is `system`.
7778
; Ref: https://github.com/syndbg/goenv/pull/70
79+
* Changed `goenv-exec` now to set `GOPATH` and `GOROOT` environment variables before
80+
executing specified cmd and args. Can be disable via `GOENV_DISABLE_GOPATH=1` and `GOENV_DISABLE_GOROOT=1`.
81+
`GOPATH` can be configured with `GOENV_GOPATH_PREFIX`. E.g `GOENV_GOPATH_PREFIX=/tmp/goenv`.
82+
Default managed `GOPATH` is `$HOME/go`.
83+
; Ref: https://github.com/syndbg/goenv/pull/70
7884

7985
## 2.0.0beta5
8086

0 commit comments

Comments
 (0)