homebrew cask : updating mactex

  • creating a new branch for his project

    git branches
    git remote add $github_user https://github.com/$github_user/homebrew-cask
    git checkout -b $project
  • finding my information and feeding to homebrew

    cd ~/Downloads
    wget http://mirrors.ircam.fr/pub/CTAN/systems/mac/mactex/mactex-20150609.pkg
    sha256sum mactex-20150609.pkg
    sha256sum mactex-20150609.pkg | pbcopy
    brew cask edit $project
  • testing with homebrew:

    brew cask install $project
    brew cask audit $project  --download
  • publishing results

    git status
    git commit -am"upgrading mactex"
    git push $github_user $project
  • confirm the pull request

    open https://github.com/$github_user/homebrew-cask
  • come back to the master branch

    git checkout master
  • in the meanwhile, the change has been pulled and got approveded. MacTex is updated!