mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
* Possible fix to travis thinking that BYOND install is downloaded when it isn't * honk * please stop having syntax errors * fuck yoooou * W H I T E S P A C E
15 lines
435 B
Bash
15 lines
435 B
Bash
#!/bin/bash
|
|
set -e
|
|
if [ -e "$HOME/BYOND-${BYOND_MAJOR}.${BYOND_MINOR}/byond/bin/DreamMaker" ];
|
|
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 -o byond.zip
|
|
cd byond
|
|
make here
|
|
fi
|