mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-06-27 12:05:56 +02:00
[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>
This commit is contained in:
parent
6bdb03d8ac
commit
c993bc01a4
35 changed files with 1500 additions and 1294 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue