mgumz / gop

set GOPATH based on a folder marker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gop

gop looks recursively for a folder marked by a file (default: ".gopath") and sets Go's GOPATH environment to that folder. It then executes the the given command.

gop is a fork of golo by Richard Bucker (which itself got inspired by goli, written by James Lawrence)

Usage

$> cd ~/my_workspace
$> touch .gopath
$> cd src/deep/into/my/project
$> gop -verbose build -v

LICENSE

MIT

About

set GOPATH based on a folder marker


Languages

Language:Go 97.5%Language:Shell 2.5%