-
-
Save iiitmahesh/ba57beefaaed318d1c2ffee4b66ea9ce to your computer and use it in GitHub Desktop.
install arcanist (OSX)
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 | |
dir="~/Applications/arcanist/" | |
eval dir=$dir | |
if [ -d "$dir" ]; then | |
printf "arc already installed. Remove and install again? (y/n) " | |
read answer | |
if [ "$answer" != "y" ]; then | |
exit | |
fi | |
rm -fR "$dir" | |
fi | |
mkdir -p ~/Applications/arcanist | |
pushd ~/Applications/arcanist > /dev/null | |
git clone git://github.com/facebook/libphutil.git | |
git clone git://github.com/facebook/arcanist.git | |
ln -Fs ~/Applications/arcanist/arcanist/bin/arc /usr/local/bin/arc | |
popd | |
echo "installed!" | |
echo | |
echo -e "if this is your first time, run \033[92marc install-certificate\033[0m in your project's directory" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment