Created
April 8, 2015 16:40
-
-
Save BiggerNoise/c2e06b6645a10ecc1eef to your computer and use it in GitHub Desktop.
Some useful shell commands and aliases when working with godep
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
# simple commands to alter the GOPATH for longer than a single command | |
alias guse='GOPATH=$(godep path):$HOME/dev/go' | |
alias greset='GOPATH=$HOME/dev/go' |
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
#!/usr/bin/env bash | |
# use this to execute a single command with the GOPATH reflecting the godep store | |
GOPATH=$(godep path):$GOPATH; "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment