aboutsummaryrefslogtreecommitdiff
path: root/tools/cpmutil.sh
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2026-06-26 02:22:04 +0200
committercrueter <crueter@eden-emu.dev>2026-06-26 02:22:04 +0200
commitc993bc01a49c39c3d293ce401db86b3dccba69c1 (patch)
tree7c9bed2f2f5013b87bb2ea57bac16fb09a79a737 /tools/cpmutil.sh
parent6bdb03d8ac5a626256e52e4601fae9d245405345 (diff)
[cmake] Update CPMUtil (#4123)
Notable changes - Single cpmfile - version/min_version/git_version have been fixed and replaced with version and min_version - Docs rewrite - Legacy options are gone - Fixed update/version commands - Added patch creation functionality Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4123 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'tools/cpmutil.sh')
-rwxr-xr-xtools/cpmutil.sh12
1 files changed, 5 insertions, 7 deletions
diff --git a/tools/cpmutil.sh b/tools/cpmutil.sh
index cec758a726..6c18e6999b 100755
--- a/tools/cpmutil.sh
+++ b/tools/cpmutil.sh
@@ -25,9 +25,8 @@ General command-line utility for CPMUtil operations.
Commands:
package Run operations on a package or packages
- format Format all cpmfiles
+ format Format cpmfile
update Update CPMUtil and its tooling
- ls List all cpmfiles
migrate Convert submodules to a basic cpmfile
Package commands:
@@ -37,8 +36,11 @@ Package commands:
add Add a new package
rm Remove a package
version Change the version of a package
- which Find which cpmfile a package is defined in
+ which Check if a package is defined
download Get the download URL for a package
+ dir Get the local directory for a package
+ reset Reset a fetched package to its original state
+ patch Create an in-tree patch based on local modifications
EOF
@@ -49,10 +51,6 @@ export ROOTDIR
while :; do
case "$1" in
- ls)
- echo "$CPMFILES" | tr ' ' '\n'
- break
- ;;
format | update | migrate)
"$SCRIPTS/$1".sh
break