2018-11-11 10:47:01 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
case "$1" in
|
|
|
|
"rb" | "rbp" | "rebuild")
|
|
|
|
scripts/rebuildPatches.sh
|
|
|
|
;;
|
|
|
|
"p" | "patch")
|
|
|
|
scripts/build.sh
|
|
|
|
;;
|
|
|
|
"m" | "up" | "merge")
|
|
|
|
scripts/mergeUpstream.sh
|
|
|
|
;;
|
|
|
|
"b" | "build")
|
|
|
|
scripts/build.sh --jar
|
|
|
|
;;
|
|
|
|
"e" | "edit")
|
|
|
|
scripts/edit.sh
|
|
|
|
;;
|
|
|
|
"w" | "wiggle")
|
|
|
|
scripts/wigglePatch.py
|
|
|
|
;;
|
|
|
|
*)
|
2021-06-09 00:20:28 +02:00
|
|
|
echo "FlameCord build tool command. This provides a variety of commands to control the FlameCord"
|
2018-11-11 10:47:01 +01:00
|
|
|
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"
|
|
|
|
echo " * m, up, merge | Utility to aid in merging upstream"
|
|
|
|
echo " * b, build | Builds the project"
|
2021-06-09 00:20:28 +02:00
|
|
|
echo " | The bootstrap artifact can be found in FlameCord-Proxy/bootstrap/target/"
|
2018-11-11 10:47:01 +01:00
|
|
|
echo " * e, edit | Runs git rebase -i for Waterfall, allowing patches to be easily modified"
|
|
|
|
echo " * w, wiggle | Helps to apply patches that fail to using default Git."
|
|
|
|
;;
|
|
|
|
esac
|