ba48de2d30
Sync docs to Wiki / wiki (push) Has been cancelled
Signed-off-by: Stan Grams <sjg@haxx.space>
18 lines
459 B
Bash
18 lines
459 B
Bash
#!/usr/bin/env bash
|
|
# SPDX-FileCopyrightText: 2026 Stan Grams <sjg@haxx.space>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Run trx-server with the dummy backend for development and testing.
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
PROJECT_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
|
|
|
|
exec cargo run --manifest-path "$PROJECT_ROOT/Cargo.toml" \
|
|
-p trx-server -- \
|
|
--rig dummy \
|
|
--access serial \
|
|
"/dev/null 9600" \
|
|
"$@"
|