~starkingdoms/starkingdoms

ref: 6f156d279a2303feb28f884ffc52e5c0cc75bbfd starkingdoms/spacetime -rwxr-xr-x 249 bytes
6f156d27 — core attempt to fix that too 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

set -e

SCRIPT_PATH=$(readlink -f "${BASH_SOURCE:-$0}")
SCRIPT_DIR=$(dirname "$SCRIPT_PATH")

echo "[*] Running configure command 'spacetime $* $SCRIPT_DIR'"

cd "$SCRIPT_DIR" && cargo run --release --bin spacetime -- "$@" "$SCRIPT_DIR"