feat(extensions): add `forge run` command
Author: ZeroEkkusuCreated Jul 4, 2024Updated Sep 4, 2026
LabelsT-featureA-configA-extensionsT-to-discussT-post-V1
Component
Forge
Describe the feature you would like
Add forge run, similar to how a Hardhat project can have scripts in package.json and be run with npm run script.
[profile.default]
src = "src"
out = "out"
libs = ["lib"]
[actions]
build = "bash actions/build.sh"This would enable pre-compilation hooks, and other workflows.
Additional context
No response
Source: foundry-rs/foundry