Skip to content

Commit 937eddc

Browse files
authored
chore: allow individuals to extend direnv config (#3847)
1 parent b1c862d commit 937eddc

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.envrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ export AVALANCHEGO_PATH=$PWD/build/avalanchego
1212
# Configure the local plugin directory for both avalanchego and tmpnet usage
1313
mkdir -p $PWD/build/plugins # avalanchego will FATAL if the directory does not exist
1414
export AVAGO_PLUGIN_DIR="${AVAGO_PLUGIN_DIR:-$PWD/build/plugins}" # Use an existing value if set
15+
16+
# Allow individuals to add their own customisation
17+
source_env_if_exists .envrc.local

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ vendor
6464
**/testdata
6565

6666
.direnv
67+
# Personal extension to .envrc
68+
.envrc.local

0 commit comments

Comments
 (0)