-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacf
executable file
·34 lines (33 loc) · 1.08 KB
/
acf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env bash
case "$1" in
"rb" | "rbp" | "rebuild")
scripts/rebuildPatches.sh || exit 1
;;
"p" | "patch")
scripts/build.sh || exit 1
;;
"m" | "up" | "merge")
scripts/mergeUpstream.sh || exit 1
;;
"b" | "build")
scripts/build.sh --jar || exit 1
;;
"d" | "deploy")
scripts/build.sh --deploy || exit 1
;;
"e" | "edit")
scripts/edit.sh || exit 1
;;
*)
echo "ACF build tool command. This provides a variety of commands to control the ACF"
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 Commands"
echo " * m, up, merge | Utility to aid in merging upstream"
echo " * b, build | Builds the project"
echo " * d, deploy | Deploys the project"
echo " * e, edit | Runs git rebase -i for ACF, allowing patches to be easily modified"
;;
esac