.envrc
# Run any command in this library's bin/ without the bin/ prefix!
PATH_add bin
# Only add things to this file that should be shared with the team.
# **dotenv** (See end of file for .env.local integration)
# .env would override anything in this file, if enabled.
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments.
# Override and customize anything below in your own .env.local
# If you are using dotenv and not direnv,
# copy the following `export` statements to your own .env file.
### General Ruby ###
# Turn off Ruby Warnings about deprecated code
# export RUBYOPT="-W0"
### External Testing Controls
export K_SOUP_COV_DO=true # Means you want code coverage
# Available formats are html, xml, rcov, lcov, json, tty
export K_SOUP_COV_COMMAND_NAME="MiniTest Coverage"
export K_SOUP_COV_FORMATTERS="html,tty"
export K_SOUP_COV_MIN_BRANCH=23 # Means you want to enforce X% branch coverage
export K_SOUP_COV_MIN_LINE=55 # Means you want to enforce X% line coverage
export K_SOUP_COV_MIN_HARD=true # Means you want the build to fail if the coverage thresholds are not met
export K_SOUP_COV_MULTI_FORMATTERS=true
export MAX_ROWS=1 # Setting for simplecov-console gem for tty output, limits to the worst N rows of bad coverage
# Internal Debugging Controls
export DEBUG=false # do not allow byebug statements (override in .env.local)
# .env would override anything in this file, if `dotenv` is uncommented below.
# .env is a DOCKER standard, and if we use it, it would be in deployed, or DOCKER, environments,
# and that is why we generally want to leave it commented out.
# dotenv
# .env.local will override anything in this file.
dotenv_if_exists .env.local