Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save j0xaf/7223071 to your computer and use it in GitHub Desktop.
Save j0xaf/7223071 to your computer and use it in GitHub Desktop.
# make sure the following is installed:
# - Xcode Command Line Tools (xcode-select --install)
# - OpenSSL from homebrew (brew install openssl && brew link openssl --force)
# dependencies and preparations
brew update
brew install git ossp-uuid md5sha1sum coreutils pcre gnutls libidn gsasl pkg-config libxml2
brew link libxml2 --force
brew tap darinmorrison/haskell
brew install darinmorrison/haskell/cabal-install
cabal update
PATH=~/.cabal/bin:$PATH
cabal install happy
cabal install alex
cabal install c2hs
cabal install gnuidn
# for shell use
cabal install git-annex
ln -s ~/.cabal/bin/git-annex* /usr/local/bin/
# to create git-annex.app
git clone https://github.com/joeyh/git-annex.git
cd git-annex
cabal build
make osxapp
cp -R tmp/build-dmg/git-annex.app /Applications/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment