File tree 3 files changed +7
-2
lines changed
3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 2
2
path = Paper
3
3
url = https://github.com/PaperMC/Paper
4
4
branch = ver/1.12.2
5
+ [submodule "work/Paperclip "]
6
+ path = work/Paperclip
7
+ url = https://github.com/PaperMC/Paperclip
Original file line number Diff line number Diff line change 7
7
set -e
8
8
basedir=" $( cd " $1 " && pwd -P) "
9
9
workdir=" $basedir /Paper/work"
10
+ localworkdir=" $basedir /work"
10
11
mcver=$( cat " $workdir /BuildData/info.json" | grep minecraftVersion | cut -d ' "' -f 4)
11
12
paperjar=" $basedir /Dionysus-Server/target/dionysus-$mcver .jar"
12
13
vanillajar=" $workdir /Minecraft/$mcver /$mcver .jar"
13
14
14
15
(
15
- cd " $workdir /Paperclip"
16
+ cd " $localworkdir /Paperclip"
16
17
mvn clean package " -Dmcver=$mcver " " -Dpaperjar=$paperjar " " -Dvanillajar=$vanillajar "
17
18
)
18
- cp " $workdir /Paperclip/assembly/target/paperclip-${mcver} .jar" " $basedir /dionysus-paperclip.jar"
19
+ cp " $localworkdir /Paperclip/assembly/target/paperclip-${mcver} .jar" " $basedir /dionysus-paperclip.jar"
19
20
20
21
echo " "
21
22
echo " "
You can’t perform that action at this time.
0 commit comments