Skip to content

Commit

Permalink
chore(direnv): load dev.env if present
Browse files Browse the repository at this point in the history
Signed-off-by: Artur Troian <[email protected]>
  • Loading branch information
troian committed Jul 28, 2023
1 parent eef2365 commit a8d353e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions .envrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ AP_ROOT=$(pwd)
export AP_ROOT

dotenv
dotenv_if_exists dev.env

PATH_add "$AP_DEVCACHE_NODE_BIN"
PATH_add "$AP_DEVCACHE_BIN"
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ coverage.txt
go.work
go.work.sum

.devenv
dev.env
2 changes: 0 additions & 2 deletions make/init.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ ifndef AP_ROOT
PATH := $(AP_DEVCACHE_BIN):$(AP_DEVCACHE_NODE_BIN):$(PATH)
endif

-include $(AP_ROOT)/.devenv

UNAME_OS := $(shell uname -s)
UNAME_OS_LOWER := $(shell uname -s | tr '[:upper:]' '[:lower:]')
# uname reports x86_64. rename to amd64 to make it usable by goreleaser
Expand Down

0 comments on commit a8d353e

Please sign in to comment.