Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(direnv): load dev.env if present #129

Merged
merged 1 commit into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading