forked from prisma/prisma-engines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.envrc
30 lines (23 loc) · 1.07 KB
/
.envrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
export SERVER_ROOT=$(pwd)
export RUST_LOG_FORMAT=devel
export RUST_BACKTRACE=1
export RUST_LOG=query_engine=debug,quaint=debug,query_core=trace,query_connector=debug,sql_query_connector=debug,prisma_models=debug,engineer=info,sql_introspection_connector=debug
export LOG_QUERIES=y
# Controls Scala test kit verbosity. Levels are trace, debug, info, error, warning
export LOG_LEVEL=debug
# Controls Scala test kit test complexity ("simple", "complex")
export TEST_MODE=simple
# Controls scala test kit binary build mode ("debug", "release"): Defaults to "release" if not set.
export TEST_BINARY_BUILD_MODE=debug
# Local dev env
export PRISMA_CONFIG_PATH=$(pwd)/prisma.yml
export PRISMA_DML_PATH=$(pwd)/datamodel_v2.prisma
export PRISMA2_BINARY_PATH="/usr/local/lib/node_modules/prisma2/"
export PRISMA_BINARY_PATH=$(pwd)/target/release/query-engine
export MIGRATION_ENGINE_BINARY_PATH=$(pwd)/target/release/migration-engine
# This must be in sync with the setting in the engineer build CLI
export SQLITE_MAX_VARIABLE_NUMBER=250000
if command -v nix-shell &> /dev/null
then
use nix
fi