~starkingdoms/starkingdoms

ref: 979b11d96fdc1242c24076e69d9b37218567f3cb starkingdoms/spacetime -rwxr-xr-x 249 bytes
979b11d9 — 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"