• Mark Tyneway's avatar
    contracts-bedrock: remove glob dependency · 24cb20d4
    Mark Tyneway authored
    The script that ensures that all tests have the correct
    naming scheme used an external package named glob. This
    package was not actually necessary, altho it was convenient
    to use. This commit refactors the script to not use the glob
    dependency. It also now logs all of the files it successfully
    processes, so that we can be sure that it is running on all
    of the expected files. It uses the `IS_TEST` getter in the
    abi to determine if something is a test, which comes from
    forge-std `Test` contract. It also now uses `forge config --json`
    to parse the `out` location for the artifacts, so that it can
    be changed without needing to update the script.
    24cb20d4
Name
Last commit
Last update
..
contracts Loading commit data...
deploy-config Loading commit data...
deployments Loading commit data...
invariant-docs Loading commit data...
scripts Loading commit data...
src Loading commit data...
test-case-generator Loading commit data...
.envrc.example Loading commit data...
.eslintignore Loading commit data...
.eslintrc.js Loading commit data...
.gas-snapshot Loading commit data...
.gitignore Loading commit data...
.npmignore Loading commit data...
.prettierignore Loading commit data...
.prettierrc.js Loading commit data...
.solhint.json Loading commit data...
.solhintignore Loading commit data...
.storage-layout Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
STYLE_GUIDE.md Loading commit data...
foundry.toml Loading commit data...
layout-lock.json Loading commit data...
package.json Loading commit data...
slither.config.json Loading commit data...
slither.db.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...