Created
November 8, 2015 18:48
-
-
Save asmedrano/99999a21472793428c76 to your computer and use it in GitHub Desktop.
Small GOPATH setter 2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export GOPATH=$(pwd):$(pwd)/vendor # make GOPATH both the local src dir and also if using GB the 'vendor' dir | |
export PATH=$PATH:$(pwd)/bin # add the current GOPATH bin directory to the path for convinience |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment