PaperMC/paperclip.sh

16 lines
327 B
Bash
Raw Normal View History

2016-01-26 07:36:28 +01:00
#!/usr/bin/env bash
2016-03-31 02:50:23 +02:00
basedir=`pwd`
workdir=$basedir/work
mcver=$(cat BuildData/info.json | grep minecraftVersion | cut -d '"' -f 4)
2016-01-26 07:36:28 +01:00
cd ./Paperclip
mvn clean package
2016-01-26 07:36:28 +01:00
cd ..
2016-03-31 02:53:39 +02:00
cp ./Paperclip/target/paperclip-${mcver}.jar ./paperclip.jar
2016-01-26 07:36:28 +01:00
echo ""
echo ""
echo ""
echo "Build success!"
2016-03-31 02:53:39 +02:00
echo "Copied final jar to $(pwd)/paperclip.jar"