~starkingdoms/starkingdoms

ref: 7f2c80e50ea5f364fce3302ed6e547449a0154e1 starkingdoms/spacetime -rwxr-xr-x 249 bytes
7f2c80e5 — core attempt to fix that too1 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"