forked from RepoMirrors/baritone
forgot install
This commit is contained in:
parent
7e4a1169af
commit
9d3d8f6c82
|
@ -13,7 +13,7 @@ RUN apt install --target-release jessie-backports \
|
||||||
|
|
||||||
RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common
|
RUN apt install -qq --force-yes mesa-utils libgl1-mesa-glx libxcursor1 libxrandr2 libxxf86vm1 x11-xserver-utils xfonts-base xserver-common
|
||||||
|
|
||||||
RUN apt install -qq --force-yes unzip wget
|
RUN apt install -qq --force-yes unzip wget jq
|
||||||
|
|
||||||
COPY . /code
|
COPY . /code
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ set -e # this makes the whole script fail immediately if any one of these comman
|
||||||
./gradlew build
|
./gradlew build
|
||||||
export VERSION=$(cat build.gradle | grep "version '" | cut -d "'" -f 2-2)
|
export VERSION=$(cat build.gradle | grep "version '" | cut -d "'" -f 2-2)
|
||||||
|
|
||||||
unzip -p build/libs/baritone-$VERSION.jar "mixins.baritone.refmap.json" | jq -S -c -M '.' > mixins.baritone.refmap.json
|
unzip -p build/libs/baritone-$VERSION.jar "mixins.baritone.refmap.json" | jq --sort-keys -c -M '.' > mixins.baritone.refmap.json
|
||||||
zip -u build/libs/baritone-$VERSION.jar mixins.baritone.refmap.json
|
zip -u build/libs/baritone-$VERSION.jar mixins.baritone.refmap.json
|
||||||
rm mixins.baritone.refmap.json
|
rm mixins.baritone.refmap.json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue