Skip to content

Commit a7cbee4

Browse files
committed
🔧 More direnv integration
1 parent 92483cb commit a7cbee4

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

‎.envrc

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
# Run any command in this library's bin/ without the bin/ prefix!
2+
PATH_add bin
3+
4+
# Only add things to this file that should be shared with the team.
5+
6+
# **dotenv** (See end of file for .env.local integration)
7+
# .env would override anything in this file, if enabled.
8+
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments.
9+
# Override and customize anything below in your own .env.local
10+
# If you are using dotenv and not direnv,
11+
# copy the following `export` statements to your own .env file.
12+
13+
### General Ruby ###
14+
# Turn off Ruby Warnings about deprecated code
15+
# export RUBYOPT="-W0"
16+
117
### External Testing Controls
218
export K_SOUP_COV_DO=true # Means you want code coverage
319
# Available formats are html, xml, rcov, lcov, json, tty
@@ -7,5 +23,16 @@ export K_SOUP_COV_MIN_BRANCH=86 # Means you want to enforce X% branch coverage
723
export K_SOUP_COV_MIN_LINE=91 # Means you want to enforce X% line coverage
824
export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met
925
export K_SOUP_COV_MULTI_FORMATTERS=true
10-
export MAX_ROWS=5 # Setting for simplecov-console gem for tty output, limits to the worst N rows of bad coverage
11-
export DEBUG=true # allow byebug statements
26+
export MAX_ROWS=1 # Setting for simplecov-console gem for tty output, limits to the worst N rows of bad coverage
27+
28+
29+
# Internal Debugging Controls
30+
export DEBUG=false # do not allow byebug statements (override in .env.local)
31+
32+
# .env would override anything in this file, if `dotenv` is uncommented below.
33+
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments,
34+
# and that is why we generally want to leave it commented out.
35+
# dotenv
36+
37+
# .env.local will override anything in this file.
38+
dotenv_if_exists .env.local

0 commit comments

Comments
 (0)