From 1d1d8fa44ccd967d928ff333be8e49c243f4c08a Mon Sep 17 00:00:00 2001 From: kyzooghost Date: Tue, 7 Jan 2025 21:56:16 +1100 Subject: [PATCH] hacky fix to check for forge install on pnpm run solidity:docgen --- contracts/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/package.json b/contracts/package.json index 3169fe785..2459d2513 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -20,7 +20,7 @@ "lint": "pnpm run lint:sol && npm run lint:ts && npm run prettier", "lint:fix": "pnpm run lint:sol:fix && npm run lint:ts:fix && npm run prettier:fix", "clean": "rimraf .openzeppelin build cache node_modules typechain-types coverage coverage.json", - "solidity:docgen": "npx hardhat docgen" + "solidity:docgen": "command -v forge && npx hardhat docgen || echo 'Foundry installation required for Solidity docgen, skipping...'" }, "devDependencies": { "@ethereumjs/util": "9.0.3",