-
Notifications
You must be signed in to change notification settings - Fork 0
/
.envrc
36 lines (27 loc) · 974 Bytes
/
.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
31
32
33
34
35
36
#!/usr/bin/env bash
# Team Shared direnv.
# See: https://github.com/direnv/direnv
# Enforces `set -euo pipefail` despite user local config.
strict_env
# forces "at least"
direnv_version 2.32.1
# User local additions.
source_env_if_exists .envrc.local
# Load rtx or asdf
if has rtx && has use_rtx; then
use rtx
elif has asdf && has use_asdf; then
log_status "rtx not found. Falling back to asdf."
use asdf
else
log_error "Neither rtx nor asdf are installed or integrated with direnv."
log_error "For asdf: https://asdf-vm.com/"
log_error "For rtx (asdf clone in rust): https://github.com/jdxcode/rtx"
fi
# Required Env Vars for this project
# Set these vars in `.envrc.local` file
export MAESTRO_APP_ID=${MAESTRO_APP_ID:-com.crisiscleanup.demo.debug}
export MAESTRO_APP_EMAIL=${MAESTRO_APP_EMAIL:-}
export MAESTRO_APP_PASSWORD=${MAESTRO_APP_PASSWORD:-}
# Optional Env Vars
# export MAESTRO_DRIVER_STARTUP_TIMEOUT=${MAESTRO_DRIVER_STARTUP_TIMEOUT:-15000}