~starkingdoms/starkingdoms

6f22fe8bc7f3a793d5767dfbc52b430a1581daea — c0repwn3r 2 years ago 3667318
rename st to spacetime
M BUILDING.md => BUILDING.md +2 -2
@@ 18,8 18,8 @@ If you get a `sheep: command not found` error, or the same with wasm-pack, add `

## Running build commands

Build commands are ran with the `st` shell script. Run `./st <build-command>` to run a build.
`st` can be run from any directory - you could run `../../st run-server` from `server/src/`, and it would still properly build and run the server.
Build commands are ran with the `spacetime` shell script. Run `./spacetime <build-command>` to run a build.
`spacetime` can be run from any directory - you could run `../../spacetime run-server` from `server/src/`, and it would still properly build and run the server.

## Available build commands


R st => spacetime +2 -2
@@ 7,8 7,8 @@ SCRIPT_DIR=$(dirname "$SCRIPT_PATH")

exec_spacetime() {
  # args: target, environment, build root
  echo "[*] Running configure command: 'python3 $SCRIPT_DIR/spacetime/spacetime.py $1 $2 $SCRIPT_DIR'"
  python3 "$SCRIPT_DIR/spacetime/spacetime.py" "$1" "$2" "$SCRIPT_DIR"
  echo "[*] Running configure command: 'python3 $SCRIPT_DIR/spacetime_py/spacetime.py $1 $2 $SCRIPT_DIR'"
  python3 "$SCRIPT_DIR/spacetime_py/spacetime.py" "$1" "$2" "$SCRIPT_DIR"
}

exec_ninja() {

R spacetime/ninja_syntax.py => spacetime_py/ninja_syntax.py +0 -0
R spacetime/spacetime.py => spacetime_py/spacetime.py +0 -0