lots of stuff
This commit is contained in:
13
rust/run-test-instance.sh
Executable file
13
rust/run-test-instance.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
sleep 100
|
||||
set -o nounset
|
||||
|
||||
port="${1}"
|
||||
|
||||
db="$(mktemp)"
|
||||
|
||||
export SQLX_OFFLINE=true
|
||||
export DATABASE_URL="sqlite://${db}"
|
||||
|
||||
cargo run -- --port "${port}"
|
||||
Reference in New Issue
Block a user