Modularize creation of formula Base step to extract generic variables that we can then reuse for different version of gerrit in different formulas Change-Id: Idb9a799c067bd53016e35ed3a9b55f733b551c37
brew tap GerritCodeReview/gerrit
brew search gerrit
brew install gerrit@3.11.0
Gerrit data is stored in the Homebrew's var location, /usr/local/var/gerrit.
Start Gerrit as usual with the gerrit.sh and start argument:
/usr/local/var/gerrit/bin/gerrit.sh start
Stop Gerrit passing the stop argument:
/usr/local/var/gerrit/bin/gerrit.sh stop