29 lines
842 B
Bash
29 lines
842 B
Bash
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
case "$1" in
|
|
"rb" | "rbp" | "rebuild")
|
|
scripts/rebuildPatches.sh
|
|
;;
|
|
"p" | "patch")
|
|
scripts/build.sh
|
|
;;
|
|
"m" | "up" | "merge")
|
|
scripts/mergeUpstream.sh
|
|
;;
|
|
"e" | "edit")
|
|
scripts/edit.sh
|
|
;;
|
|
*)
|
|
echo "PandaCord build tool command. This provides a variety of commands to control the PandaCord"
|
|
echo "build. View below for details of the available commands."
|
|
echo ""
|
|
echo "Commands:"
|
|
echo " * rb, rbp, rebuild | Rebuilds the patches"
|
|
echo " * p, patch | Applies all the patches to BungeeCord / Waterfall"
|
|
echo " * m, up, merge | Utility to aid in merging upstream"
|
|
echo " * e, edit | Runs git rebase -i for PandaCord, allowing patches to be easily modified"
|
|
;;
|
|
esac
|