Files
eden/tools/cpm/update.sh
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
378 B
Bash
Raw Normal View History

#!/bin/sh -e
2025-10-20 03:43:15 +02:00
# SPDX-FileCopyrightText: Copyright 2025 crueter
2025-12-31 17:16:46 +01:00
# SPDX-License-Identifier: LGPL-3.0-or-later
2025-10-20 03:43:15 +02:00
# updates CPMUtil, its docs, and related tools from the latest release
2025-12-31 17:16:46 +01:00
if command -v zstd >/dev/null; then
EXT=tar.zst
2025-10-20 03:43:15 +02:00
else
2025-12-31 17:16:46 +01:00
EXT=tar.gz
2025-10-20 03:43:15 +02:00
fi
wget "https://git.crueter.xyz/CMake/CPMUtil/releases/download/continuous/CPMUtil.$EXT"
tar xf "CPMUtil.$EXT"
rm "CPMUtil.$EXT"