Created
April 25, 2017 20:35
-
-
Save jamesalbert/185d896101c85fab6179541a07733ba8 to your computer and use it in GitHub Desktop.
install the bash testing framework bats on linux
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
#!/usr/bin/env bash | |
read -p "Where do you want to install bats? [~/.local] > " batspath | |
if [[ -z "$batspath" ]]; then | |
batspath="$HOME/.local" | |
fi | |
cd $HOME | |
git clone https://github.com/sstephenson/bats.git | |
cd bats | |
./install.sh $batspath |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment