yipo
5/14/2015 - 4:50 PM

One click to build Spigot.

One click to build Spigot.

#!/bin/bash

echo

mkdir -p workspace
cd workspace

echo - Download BuildTools.jar

if [ ! -f "BuildTools.jar" ]
then
    echo
    curl -o BuildTools.jar https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar
    echo
fi

echo - Run BuildTools

echo
java -jar BuildTools.jar --rev 1.8.6
echo

read -p "- Press any key to terminate."