Automatically create new build environment or make link in current GOPATH
.
goautoenv can inference package name from working repository.
These scm is available.
- Git - url of
origin
- Mercurial(hg)
Generate env directory and script into ./.goenv
and make symbolic link of current working repository.
goautoenv init [package]
Make symbolic link of current working repository into GOPATH
.
goautoenv link [package]
$ goautoenv init [package]
$ source .goenv/bin/activate
$ go build
$ deactivate
goautoenv init [package]
.\.goenv\bin\activate.ps1
go build
deactivate
When activated, these commands have alias for working properly.
- go
- godep
- generate
.env
for autoenv - make symbolic link into current
GOPATH
for already downloaded packages for system-wideGOPATH