Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
- ADD_CHAIN138_TO_LEDGER_LIVE: Ledger form done; public code review repo bis-innovations/LedgerLive; init/push commands - CONTRACT_DEPLOYMENT_RUNBOOK: Chain 138 gas price 1 gwei, 36-addr check, TransactionMirror workaround - CONTRACT_*: AddressMapper, MirrorManager deployed 2026-02-12; 36-address on-chain check - NEXT_STEPS_FOR_YOU: Ledger done; steps completable now (no LAN); run-completable-tasks-from-anywhere - MASTER_INDEX, OPERATOR_OPTIONAL, SMART_CONTRACTS_INVENTORY_SIMPLE: updates - LEDGER_BLOCKCHAIN_INTEGRATION_COMPLETE: bis-innovations/LedgerLive reference Co-authored-by: Cursor <cursoragent@cursor.com>
22 lines
768 B
Bash
22 lines
768 B
Bash
#!/usr/bin/env bash
|
|
# Run shellcheck on verification scripts (optional — requires shellcheck to be installed).
|
|
# Usage: bash scripts/verify/run-shellcheck.sh [--optional]
|
|
# --optional: exit 0 if shellcheck not installed (for CI where shellcheck is optional).
|
|
# Install: apt install shellcheck (or brew install shellcheck)
|
|
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "$SCRIPT_DIR"
|
|
OPTIONAL=false
|
|
[[ "${1:-}" == "--optional" ]] && OPTIONAL=true
|
|
|
|
if ! command -v shellcheck &>/dev/null; then
|
|
echo "shellcheck not found. Install with: apt install shellcheck (or brew install shellcheck)"
|
|
[[ "$OPTIONAL" == true ]] && exit 0 || exit 1
|
|
fi
|
|
|
|
echo "Running shellcheck on scripts/verify/*.sh..."
|
|
shellcheck -x ./*.sh
|
|
echo "Done."
|