diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 18:06:08 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 18:06:08 +0200 |
commit | 764f535f160c63f30c108e2fe20b624237cbbada (patch) | |
tree | 20857e34057ba53837caa20510ce385edd395c69 | |
parent | refactor(treewide): Conform to the clippy and rust lints (diff) | |
download | yt-764f535f160c63f30c108e2fe20b624237cbbada.tar.gz yt-764f535f160c63f30c108e2fe20b624237cbbada.zip |
build(.envrc): Set `sqlx`'s `DATABASE_URL` variable
-rw-r--r-- | .envrc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.envrc b/.envrc index 493fa32..0d242f2 100644 --- a/.envrc +++ b/.envrc @@ -12,9 +12,12 @@ use flake +root="$(git rev-parse --show-toplevel)" + PATH_add ./target/debug PATH_add ./target/release PATH_add ./target/profiling PATH_add ./python_update export PYO3_PYTHON=python3 +export DATABASE_URL="sqlite://$root/target/database.sqlite" |