17 lines
420 B
Shell
Executable file
17 lines
420 B
Shell
Executable file
#!/usr/bin/env bash
|
|
|
|
#RUST_BACKTRACE=1
|
|
|
|
DIR=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
|
|
CFG="${DIR}/../packages/jobboerse/config/dev-config.toml"
|
|
RUN_DIR="${DIR}/../packages/jobboerse"
|
|
|
|
pushd "${RUN_DIR}"
|
|
|
|
export RUST_LOG=debug
|
|
|
|
cargo watch \
|
|
-i ./packages/jobboerse/config/dev-config.toml \
|
|
-x "run --package jobboerse --bin jobboerse --release --features=dev_mode -- --config=\"${CFG}\" --mode=development"
|
|
|
|
popd
|