mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 03:30:38 +00:00
8d325e700b
Full local testnet support for people that don't have `/bin/bash`
18 lines
414 B
Bash
Executable File
18 lines
414 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Print all the logs output from local testnet
|
|
|
|
set -Eeuo pipefail
|
|
|
|
source ./vars.env
|
|
|
|
for f in "$TESTNET_DIR"/*.log
|
|
do
|
|
[[ -e "$f" ]] || break # handle the case of no *.log files
|
|
echo "============================================================================="
|
|
echo "$f"
|
|
echo "============================================================================="
|
|
cat "$f"
|
|
echo ""
|
|
done
|