Files
SHiNE-server/docs/CORE-CONTENT-MINIMAL/M3_VERIFY.sh
T

12 lines
540 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/../.."
node --test shine-UI/tests/*.test.mjs shine-UI/tests/*.test.cjs
DIR=$(dirname "$(find ESP32 -name shine_core_content.h -print -quit)")
OUT=$(mktemp -d)
trap 'rm -rf "$OUT"' EXIT
# Portable helper with OpenSSL; NOT an Arduino/ESP32 firmware build.
g++ -std=c++11 -Wall -Wextra -Werror -I "$DIR" docs/CORE-CONTENT-MINIMAL/M3_REMOTE_VECTOR_CHECK.cpp -lcrypto -o "$OUT/remote-vector"
"$OUT/remote-vector" docs/Blockchain/vectors/core-content-v1.tsv
python3 scripts/check_docs.py