Skip to content

Commit f520d42

Browse files
authored
More java tests! (#505)
* More java tests! * set test
1 parent 70c2a79 commit f520d42

File tree

4 files changed

+1304
-5
lines changed

4 files changed

+1304
-5
lines changed

integration/dev-server.sh

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
#!/bin/bash
22
set -e
3-
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4-
source ${SCRIPT_DIR}/setup.sh
5-
source ${SCRIPT_DIR}/toxi/setup.sh
6-
pushd ${SCRIPT_DIR}/../
7-
cargo watch --shell "cargo run -- --config integration/pgdog.toml --users integration/users.toml"
3+
THIS_SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
4+
source ${THIS_SCRIPT_DIR}/setup.sh
5+
source ${THIS_SCRIPT_DIR}/toxi/setup.sh
6+
pushd ${THIS_SCRIPT_DIR}/../
7+
CMD="cargo run -- --config ${THIS_SCRIPT_DIR}/pgdog.toml --users ${THIS_SCRIPT_DIR}/users.toml"
8+
9+
if [[ -z "$1" ]]; then
10+
cargo watch --shell "${CMD}"
11+
else
12+
${CMD}
13+
fi
814
popd

integration/java/dev.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)