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