[tools] refactor: reorganize, commonalities, moar tags, posix compat
all scripts are fully posix compliant Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
dbc89d2f20
commit
240c2d14d4
18 changed files with 458 additions and 375 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# SPDX-FileCopyrightText: 2025 crueter
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# shellcheck disable=SC2038
|
||||
# shellcheck disable=SC2016
|
||||
[ -z "$PACKAGES" ] && PACKAGES=$(find . src -maxdepth 3 -name cpmfile.json | xargs jq -s 'reduce .[] as $item ({}; . * $item)')
|
||||
LIBS=$(echo "$PACKAGES" | jq -j 'keys_unsorted | join(" ")')
|
||||
|
||||
tools/cpm-fetch.sh $LIBS
|
1
tools/cpm-fetch-all.sh
Symbolic link
1
tools/cpm-fetch-all.sh
Symbolic link
|
@ -0,0 +1 @@
|
|||
cpm/fetch-all.sh
|
Loading…
Add table
Add a link
Reference in a new issue