forked from shunfei/godruid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.envrc
25 lines (21 loc) · 802 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
# Turns on shell execution strictness. This will force the .envrc
# evaluation context to exit immediately if:
#
# - any command in a pipeline returns a non-zero exit status that is
# not otherwise handled as part of `if`, `while`, or `until` tests,
# return value negation (`!`), or part of a boolean (`&&` or `||`)
# chain.
# - any variable that has not explicitly been set or declared (with
# either `declare` or `local`) is referenced.
strict_env
# Loads a ".env" file into the current environment
dotenv_if_exists "${PWD}"/../.env
dotenv_if_exists "${PWD}"/.env
# Add local scripts to PATH
PATH_add "${PWD}/bin"
# Enforce correct 1Password account
export OP_ACCOUNT=remerge.1password.com
# Go settings
export GO111MODULE=on
export CGO_ENABLED=0
export GOPRIVATE="github.com/remerge/*"