Files
CHOMPStation2/tools/travis/install_byond.sh
Aronai Sieyes 19d2dad065 Rewrite how Travis works
Moves script files out into a separate directory, and creates a jobs matrix to allow naming of jobs and specific jobs to not download all the deps if they don't need to.
2020-03-17 18:47:52 -04:00

15 lines
419 B
Bash

#!/bin/sh
set -e
if [ -d "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin" ];
then
echo "Using cached directory."
else
echo "Setting up BYOND."
mkdir -p "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
cd "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}"
curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
unzip byond.zip
cd byond
make here
fi