$ROOT/$ORG/REPO
To clone this repository, run:
$ clone juliangruber project.sh
With $ROOT set to ~/dev/
, this repository will have been cloned
to ~/dev/juliangruber/project.sh
.
source project.sh
export PROJ_ROOT=~/dev/
Go to $ROOT/$ORG/REPO
. If this directory does not exist, the project will be cloned for you. This makes it the main function to use.
Clone the project from https://github.com/$ORG/$REPO
into $ROOT/$ORG/$REPO
and cd into the directory.
You only need to set PROJ_ROOT
to your project root.
I picked this idea up when I was working at segment, but we never got around to publishing it.
MIT