FiWiManager/scripts/compile_inrush_reflex.sh

16 lines
595 B
Bash
Executable File

#!/usr/bin/env bash
# Compile reflex/inrush.reflex → reflex/inrush.map using the BrainStem SDK arc compiler.
#
# Requires: **arc** from the BrainStem Development Kit (not ``pip install brainstem``).
# https://acroname.com/software/brainstem-development-kit
# Then: add .../BrainStem2/bin to PATH, or export BRAINSTEM2_DEV_ROOT=.../BrainStem2
# See: python3 fiwi.py reflex help
#
# Usage (from repo root):
# ./scripts/compile_inrush_reflex.sh
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$ROOT"
exec python3 fiwi.py reflex compile reflex/inrush.reflex reflex/inrush.map