|
| 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 | + |
| 17 | +### External Testing Controls |
| 18 | +export K_SOUP_COV_DO=true # Means you want code coverage |
| 19 | +# Available formats are html, xml, rcov, lcov, json, tty |
| 20 | +export K_SOUP_COV_COMMAND_NAME="MiniTest Coverage" |
| 21 | +export K_SOUP_COV_FORMATTERS="html,tty" |
| 22 | +export K_SOUP_COV_MIN_BRANCH=86 # Means you want to enforce X% branch coverage |
| 23 | +export K_SOUP_COV_MIN_LINE=97 # Means you want to enforce X% line coverage |
| 24 | +export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met |
| 25 | +export K_SOUP_COV_MULTI_FORMATTERS=true |
| 26 | +export MAX_ROWS=1 # Setting for simplecov-console gem for tty output, limits to the worst N rows of bad coverage |
| 27 | + |
| 28 | +# Internal Debugging Controls |
| 29 | +export DEBUG=false # do not allow byebug statements (override in .env.local) |
| 30 | +export REQUIRE_BENCH=false # set to true in .env.local to turn on require_bench |
| 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