dapptools icon indicating copy to clipboard operation
dapptools copied to clipboard

Normalize values used to represent true with boolean-esque env vars

Open transmissions11 opened this issue 4 years ago • 1 comments

Right now env vars that accept boolean-esque values (like DAPP_TEST_FFI, HEVM_RPC, and DAPP_BUILD_OPTIMIZE) each require slightly different values to represent true.

Sometimes 1 means true, sometimes yes means true, sometimes any non 0 value means true, and sometimes the variable being set at all means true!

Ideally all boolean-esque env vars would only accept one of these values to mean true, which would make using them a lot less confusing :p

transmissions11 avatar Sep 22 '21 01:09 transmissions11

@transmissions11 this still open? Would love to pick it up :D

ameya-deshmukh avatar Mar 09 '23 16:03 ameya-deshmukh