mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
26 lines
635 B
Bash
Executable File
26 lines
635 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eo pipefail
|
|
|
|
WORKSPACE_PATH="${1:-$(pwd)}"
|
|
|
|
if [[ ! -d "$WORKSPACE_PATH" ]]; then
|
|
echo "$0: $WORKSPACE_PATH is not a valid directory, exiting!"
|
|
exit 1
|
|
fi
|
|
|
|
cd "$WORKSPACE_PATH"
|
|
|
|
source "contrib/guix/libexec/prelude.bash"
|
|
|
|
printf "\nBinaries:\n\n"
|
|
( \
|
|
SRC_PATH_PREFIX="${VERSION_BASE}/distsrc-" && \
|
|
sha256sum ${SRC_PATH_PREFIX}*/src/dash{d,-cli,-tx,-wallet}{,.exe} && \
|
|
sha256sum ${SRC_PATH_PREFIX}*/src/qt/dash-qt{,.exe} && \
|
|
sha256sum ${SRC_PATH_PREFIX}*/src/test/test_dash{,.exe} \
|
|
) | sort -k 2
|
|
|
|
printf "\nArchives:\n\n"
|
|
find "${OUTDIR_BASE}" -type f | grep -v SHA256 | xargs sha256sum | sort -k 2
|