This commit is contained in:
silicons
2021-05-14 23:52:11 -06:00
committed by GitHub
parent 3af89de06b
commit 74e4ac2ae1
3 changed files with 22 additions and 22 deletions

Binary file not shown.

View File

@@ -18,7 +18,7 @@ export NODE_VERSION_PRECISE=12.20.0
export SPACEMAN_DMM_VERSION=suite-1.6 export SPACEMAN_DMM_VERSION=suite-1.6
# Extools git tag # Extools git tag
export EXTOOLS_VERSION=v0.0.7 # export EXTOOLS_VERSION=v0.0.7
# Python version for mapmerge and other tools # Python version for mapmerge and other tools
export PYTHON_VERSION=3.6.8 export PYTHON_VERSION=3.6.8

View File

@@ -67,30 +67,30 @@ mv target/i686-unknown-linux-gnu/release/librust_g.so "$1/librust_g.so"
cd .. cd ..
# get dependencies for extools # get dependencies for extools
apt-get install -y cmake build-essential gcc-multilib g++-multilib cmake wget # apt-get install -y cmake build-essential gcc-multilib g++-multilib cmake wget
# update extools # update extools
if [ ! -d "extools" ]; then # if [ ! -d "extools" ]; then
echo "Cloning extools..." # echo "Cloning extools..."
git clone https://github.com/MCHSL/extools # git clone https://github.com/MCHSL/extools
cd extools/byond-extools # cd extools/byond-extools
else #else
echo "Fetching extools..." # echo "Fetching extools..."
cd extools/byond-extools # cd extools/byond-extools
git fetch # git fetch
fi #fi
echo "Deploying extools..." #echo "Deploying extools..."
git checkout "$EXTOOLS_VERSION" #git checkout "$EXTOOLS_VERSION"
if [ -d "build" ]; then #if [ -d "build" ]; then
rm -R build # rm -R build
fi #fi
mkdir build #mkdir build
cd build #cd build
cmake .. #cmake ..
make #make
mv libbyond-extools.so "$1/libbyond-extools.so" #mv libbyond-extools.so "$1/libbyond-extools.so"
cd ../../.. #cd ../../..
# install or update youtube-dl when not present, or if it is present with pip3, # install or update youtube-dl when not present, or if it is present with pip3,
# which we assume was used to install it # which we assume was used to install it