aboutsummaryrefslogtreecommitdiff
path: root/tools/update-cpm.sh
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2025-10-05 03:04:53 +0200
committercrueter <crueter@eden-emu.dev>2025-10-05 03:04:53 +0200
commit9f385bf627e40e2b7d5b06cd83cab0a4e9f98f99 (patch)
treea9146b701ca51c941197fe60f90b691ecf60506c /tools/update-cpm.sh
parent1a13e79c3d8619ff302d9c77eacf1a35c2210b66 (diff)
[tools, cmake] refactor: update/hash check scripts, use tags for some more deps, proper CPMUtil separation (#2666)
Uses tags for a bunch of deps that can use them Also adds a bunmch of scripts to tools/cpm, notably for checking hashes and checking for updates. TODO for the future: - CI target to check hashes - Weekly CI to check for updates Need to get that other CI runner up additional stuff - Ports gentoo fixes - makes solaris work (TODO: sdl2) - way better docs - properly separates CPMUtil as a standalone project Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2666 Reviewed-by: Lizzie <lizzie@eden-emu.dev> Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'tools/update-cpm.sh')
-rwxr-xr-xtools/update-cpm.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/update-cpm.sh b/tools/update-cpm.sh
index 30e400209d..8bd8df2b83 100755
--- a/tools/update-cpm.sh
+++ b/tools/update-cpm.sh
@@ -1,3 +1,6 @@
-#!/bin/sh
+#!/bin/sh -e
-wget -O CMakeModules/CPM.cmake https://github.com/cpm-cmake/CPM.cmake/releases/latest/download/get_cpm.cmake
+# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+wget -O CMakeModules/CPM.cmake https://github.com/cpm-cmake/CPM.cmake/releases/latest/download/CPM.cmake