9 lines
181 B
Bash
Executable File
9 lines
181 B
Bash
Executable File
#!/bin/bash
|
|
DIR="$(dirname "$(readlink -f "$0")")"
|
|
SRC_ROOT=$DIR/../..
|
|
BUILD_TYPE=$1
|
|
BUILD_ROOT=$SRC_ROOT/build/$BUILD_TYPE
|
|
ARGS="${@:2}"
|
|
(cd $BUILD_ROOT/server && ./sparkd $ARGS)
|
|
|