-
Notifications
You must be signed in to change notification settings - Fork 412
Expand file tree
/
Copy path.envrc
More file actions
27 lines (20 loc) · 913 Bytes
/
.envrc
File metadata and controls
27 lines (20 loc) · 913 Bytes
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
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
# Enable beta playground features in the standalone web app by default.
export NEXT_PUBLIC_FIDDLE_BETA_DEFAULT=true
# speed up building the Ruby client library, which I think defaults to the release build
export RB_SYS_CARGO_PROFILE="dev"
# Use nix if nix-shell is available,
# Otherwise, use mise and brew.
if command -v nix-shell >/dev/null 2>&1; then
use flake
export PATH=$(pwd)/tools:$PATH
else
PATH_add tools/
PATH_add "$(brew --prefix llvm)/bin"
# Use mise for tool versioning, e.g. Ruby
eval "$(mise activate bash)" || echo "Please run 'brew install mise'"
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
fi
# we hide subcommands like baml-cli login, baml-cli dump-hir from our users by default
export BAML_INTERNAL=1
git config --local include.path ../.gitconfig