Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#!/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" \
|
||||
"$@"
|
||||
Reference in New Issue
Block a user