goautoenv

command module
v0.0.0-...-b495827 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2017 License: MIT Imports: 15 Imported by: 0

README

Build Status

goautoenv

Automatically create new build environment or make link in current GOPATH.

package inference

goautoenv can inference package name from working repository.
These scm is available.

  • Git - url of origin
  • Mercurial(hg)

Usage

init

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]

Full Example

Linux / OSX
$ goautoenv init [package]
$ source .goenv/bin/activate
$ go build
$ deactivate
Windows(Powershell)
goautoenv init [package]
.\.goenv\bin\activate.ps1
go build
deactivate

Alias list

When activated, these commands have alias for working properly.

  • go
  • godep

TODO

  • generate .env for autoenv
  • make symbolic link into current GOPATH for already downloaded packages for system-wide GOPATH

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL