Use paperclip.properties so CI can work

This commit is contained in:
Aikar
2016-03-30 21:27:13 -04:00
parent 82b10bbf43
commit 9fc220ea02
6 changed files with 25 additions and 9 deletions

11
init.sh
View File

@@ -2,12 +2,17 @@
PS1="$"
basedir=`pwd`
workdir=$basedir/work
workdir="$basedir/work"
minecraftversion=$(cat BuildData/info.json | grep minecraftVersion | cut -d '"' -f 4)
decompiledir=$workdir/$minecraftversion
nms=$decompiledir/net/minecraft/server
decompiledir="$workdir/$minecraftversion"
nms="$decompiledir/net/minecraft/server"
cb=src/main/java/net/minecraft/server
paperjar="$basedir/Paper-Server/target/paper-${minecraftversion}.jar"
vanillajar="${decompiledir}/${minecraftversion}.jar"
echo -e "mcver=${minecraftversion}\npaperjar=${paperjar}\nvanillajar=${vanillajar}" > paperclip.properties
patch=$(which patch 2>/dev/null)
if [ "x$patch" == "x" ]; then
patch=$basedir/hctap.exe