diff --git a/Dockerfile b/Dockerfile index 7f5b0199..fec88f25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 unzip wget +RUN apt install -qq --force-yes unzip wget jq COPY . /code diff --git a/scripts/build.sh b/scripts/build.sh index 7249d14d..4f0bc608 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -3,7 +3,7 @@ set -e # this makes the whole script fail immediately if any one of these comman ./gradlew build 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 rm mixins.baritone.refmap.json