Select compile framework for projects having both hardhat and foundry
- Dominant language
- Python
- Stars
- 6.4k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the desired feature
I work on a project with both foundry and hardhat configs. When running `slither .` the compile platform defaults to hardhat while I wanted it to use `forge build`. There's no reference to how to switch the platform in this repo's wiki. After digging in the code, I found the option `--compile-force-framework` (`compile_force_framework`) and eventually saw it also in "crytic-compile" wiki. I believe some piece of documentation is missing about faundry and the presented case in particular.
Posting here so that it can serve other people:
- from cli
```
slither . --compile-force-framework=foundry
```
- from "slither.config.json"
```
{
...
"compile_force_framework": "foundry",
...
}
```
Contributor guide
Assessment
This issue has not been assessed yet.