cmake: Add Maintenance module

This commit is contained in:
Hennadii Stepanov
2024-08-16 19:29:34 +01:00
parent 1f60b30df0
commit 747adb6ffe
4 changed files with 187 additions and 0 deletions

12
cmake/script/macos_zip.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Copyright (c) 2024-present The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://opensource.org/license/mit/.
export LC_ALL=C
if [ -n "$SOURCE_DATE_EPOCH" ]; then
find . -exec touch -d "@$SOURCE_DATE_EPOCH" {} +
fi
find . | sort | "$1" -X@ "$2"