Created
January 3, 2019 20:42
-
-
Save nealeu/fb65310298827441c80b63eb2d80c8e6 to your computer and use it in GitHub Desktop.
Independent go projects with dep
This file contains 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 | |
# To start using a project or working for a given client I'll type the client or project name, and I'll have an | |
# alias defined in .profile to run this (so that I actually end up in the directory that this file cd's to) | |
# alias 'acme-widget=source $HOME/bin/acme-widget' | |
CLIENT_ROOT=$HOME/clients/acme | |
export GOPATH=$CLIENT_ROOT | |
cd $GOPATH/src/widget | |
# widget is the project directory as cloned from source control |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment