Go to file
Cannot retrieve contributors at this time
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
|set -o errexit -o verbose|
|if test -f "$HOME/.local/bin/stack"|
|echo 'Stack is already installed.'|
|echo "Installing Stack for $TRAVIS_OS_NAME..."|
|curl --location "$URL" > stack.tar.gz|
|tar -x -f stack.tar --strip-components 1|
|mkdir -p "$HOME/.local/bin"|
|mv stack "$HOME/.local/bin/"|