diff --git a/packages/contracts/.gitignore b/packages/contracts/.gitignore index ec7554d..c908634 100644 --- a/packages/contracts/.gitignore +++ b/packages/contracts/.gitignore @@ -17,6 +17,7 @@ node_modules # solidity-coverage files /coverage /coverage.json +lcov.info # Hardhat Ignition ignition/deployments/chain-* diff --git a/packages/contracts/package.json b/packages/contracts/package.json index 6059700..cf321c6 100644 --- a/packages/contracts/package.json +++ b/packages/contracts/package.json @@ -16,8 +16,8 @@ "test": "yarn test:hardhat && yarn test:forge", "test:hardhat": "hardhat test", "test:forge": "forge test -vvv", - "test:report-gas": "REPORT_GAS=true yarn test && forge test --gas-report", - "test:coverage": "hardhat coverage && forge coverage", + "test:report-gas": "REPORT_GAS=true yarn test:hardhat && yarn test:forge --gas-report", + "test:coverage": "hardhat coverage && forge coverage --summary --report lcov", "typechain": "hardhat typechain", "format:forge": "forge fmt", "lint": "solhint 'contracts/**/*.sol'", diff --git a/scripts/clean-packages.ts b/scripts/clean-packages.ts index c26cad6..d689228 100755 --- a/scripts/clean-packages.ts +++ b/scripts/clean-packages.ts @@ -14,7 +14,8 @@ const gitIgnored = [ "docs", "out", "coverage.json", - "lib" + "lib", + "lcov.info" ] async function main() {