~starkingdoms/starkingdoms

ref: b494ad7f2355ec343b0425b7accb8863feedecf6 starkingdoms/spacetime -rwxr-xr-x 249 bytes
b494ad7f — ghostlyzsh Merge branch 'master' of https://gitlab.com/starkingdoms.tk/starkingdoms.tk 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"