Upstream has released updates that appear to apply and compile correctly. [Purpur Changes] PlazmaMC/Purpur@69d3bb4: Updated Upstream (Paper) PlazmaMC/Purpur@ad32b22: fix version command throwing an exception PlazmaMC/Purpur@9dcfdf1: [ci skip] missed this from the upstream PlazmaMC/Purpur@88aa731: Updated Upstream (Paper) PlazmaMC/Purpur@3d25693: Updated Upstream (Paper) PlazmaMC/Purpur@248ba17: Updated Upstream (Paper) PlazmaMC/Purpur@ed1e0ec: Updated Upstream (Paper) PlazmaMC/Purpur@1bbb033: Updated Upstream (Paper) PlazmaMC/Purpur@222387f: Updated Upstream (Paper) PlazmaMC/Purpur@692ff89: [ci skip] specify purpur in version command PlazmaMC/Purpur@7b850ef: [ci skip] Fix version inconsistency in README (#1517) PlazmaMC/Purpur@22fc5f9: Updated Upstream (Paper) PlazmaMC/Purpur@2842b97: Updated Upstream (Paper) PlazmaMC/Purpur@ec1b4fa: Updated Upstream (Paper) PlazmaMC/Purpur@b1464f3: Updated Upstream (Paper) PlazmaMC/Purpur@ee56117: Updated Upstream (Paper) PlazmaMC/Purpur@847719c: one punch!! improvements PlazmaMC/Purpur@1af7456: [ci skip] document mods that patches took inspiration from PlazmaMC/Purpur@224e7c7: Updated Upstream (Paper) PlazmaMC/Purpur@7095128: Add back Pufferfish patches [Paper Changes] PaperMC/Paper@23fe116: Fix missing debug trace PaperMC/Paper@b0c9b9c: Only remove worldgen block entity on changed block (#10794) PaperMC/Paper@9c917fe: [ci skip] Clean up paperclip build-pr workflow (#10802) PaperMC/Paper@9d6f2cc: [ci skip] Rebuild patches (#10803) PaperMC/Paper@84f6e6e: Fix max temper API for llama (#10823) PaperMC/Paper@672c077: handle BODY slot for non-mobs (#10822) PaperMC/Paper@716b868: Use RegistryOps for loadAdvancement (#10799) PaperMC/Paper@d9e659a: Allow firework effects with no colors (#10814) PaperMC/Paper@7e2b682: Fix skipping custom block entity tag (#10812) PaperMC/Paper@ed85aac: Flatten namespaced vanilla command alias redirects (#10821) PaperMC/Paper@a31dc90: Several fixes and new api for experience merging/stacking (#9242) PaperMC/Paper@efd91e5: Add registry-related argument types (#10770) PaperMC/Paper@27d2ed8: Extend fishing API (#10634) PaperMC/Paper@0fcf3e3: Deprecate InvAction#HOTBAR_MOVE_AND_READD (#10784) PaperMC/Paper@8e6554a: Fix sending disconnect packet in phases where it doesn't exist PaperMC/Paper@06e69c8: Use CommandSourceStack in AsyncPlayerSendCommandsEvent (#10826) PaperMC/Paper@a47e11d: fix knockback events (#10831) PaperMC/Paper@3181470: Add entity heal API (#10267) PaperMC/Paper@0513374: Fire TabCompleteEvent for legacy commands (#10834) PaperMC/Paper@5d8e53d: Fix CommandSourceStack#bypassSelectorPermissions (#10837)
60 lines
1.4 KiB
Bash
60 lines
1.4 KiB
Bash
#!/bin/bash
|
|
# To initialize your development environment,
|
|
# run below command in your terminal:
|
|
# source ./initDev
|
|
|
|
export PROJECT_DIR=$(pwd)
|
|
|
|
alias api="cd $PROJECT_DIR/*-API"
|
|
alias srv="cd $PROJECT_DIR/*-Server"
|
|
|
|
alias ap="./gradlew --no-rebuild applyPatches"
|
|
alias aap="./gradlew --no-rebuild applyAPIPatches"
|
|
alias agp="./gradlew --no-rebuild applyGeneratedAPIPatches"
|
|
alias asp="./gradlew --no-rebuild applyServerPatches"
|
|
|
|
alias rp="./gradlew --no-rebuild rebuildPatches"
|
|
alias rap="./gradlew --no-rebuild rebuildAPIPatches"
|
|
alias rgp="./gradlew --no-rebuild rebuildGeneratedAPIPatches"
|
|
alias rsp="./gradlew --no-rebuild rebuildServerPatches"
|
|
|
|
alias lg="git log --oneline base..HEAD"
|
|
alias rc="git rebase --autosquash -i base"
|
|
alias rcc="git rebase --continue"
|
|
|
|
# generate Fixup patches for Server
|
|
function fs() {
|
|
cd ./*-Server || exit 1
|
|
|
|
git add .
|
|
git commit -m "fixup"
|
|
git format-patch -1
|
|
mv 0001-fixup.patch ../
|
|
|
|
cd ../
|
|
}
|
|
|
|
# generate Fixup patches for API
|
|
function fa() {
|
|
cd ./*-API || exit 1
|
|
|
|
git add .
|
|
git commit -m "fixup"
|
|
git format-patch -1
|
|
mv 0001-fixup.patch ../
|
|
|
|
cd ../
|
|
}
|
|
|
|
# ReApply Server Patches
|
|
function rasp() {
|
|
rm -rf ./*-Server
|
|
./gradlew applyServerPatches
|
|
}
|
|
|
|
# Commit Updated Upstream
|
|
function cuu() {
|
|
# shellcheck disable=SC2059
|
|
printf "Updated Upstream ($1)$(/bin/cat compare.txt)" | git commit -F -
|
|
}
|