Last active
November 7, 2019 18:43
-
-
Save iamFIREcracker/3564db5a24e296e087da49513d6cd00c to your computer and use it in GitHub Desktop.
Script to get roswell installed on the build box -- it works on Linux, Mac OS, and Windows
This file contains hidden or 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 sh | |
ROSWELL_URL=https://github.com/roswell/roswell/releases/download/v19.09.12.102/roswell_19.09.12.102_amd64.zip | |
OS_WIN=$(uname -s | grep -e MSYS_NT) | |
if [ -n "$OS_WIN" ]; then | |
ROSWELL_IN_PATH=$(echo $PATH | grep -F /tmp/roswell) | |
if [ -z "$ROSWELL_IN_PATH" ] ; then | |
echo "/tmp/roswell not found \$PATH" | |
exit 1 | |
fi | |
echo "Downloading Roswell from: $ROSWELL_URL" | |
curl -L "$ROSWELL_URL" \ | |
--output /tmp/roswell.zip | |
unzip -n /tmp/roswell.zip -d /tmp/ | |
fi | |
# Run roswell's CI script, and since it will find `ros` already available | |
# in $PATH, it would not try to build it but instead will install the specified | |
# CL implementation + quicklisp | |
curl -L https://raw.githubusercontent.com/roswell/roswell/release/scripts/install-for-ci.sh | sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment