Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically add dependencies under libs in foundry config #46

Closed
mario-eth opened this issue May 25, 2024 · 2 comments · Fixed by #202
Closed

Automatically add dependencies under libs in foundry config #46

mario-eth opened this issue May 25, 2024 · 2 comments · Fixed by #202
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@mario-eth
Copy link
Owner

Currently, you have to the dependency directory under the libs config in foundry to be recognized automatically.
Would be awesome to be added automatically if not presetn.

E.g.

[profile.default]
auto_detect_solc = false 
bytecode_hash = "none" 
evm_version = "paris" # See https://www.evmdiff.com/features?name=PUSH0&kind=opcode
fuzz = {runs = 1_000} 
gas_reports = ["*"] 
libs = ["dependencies"]  <=== This needs to be added automatically
optimizer = true 
optimizer_runs = 10_000 
out = "out" 
script = "script" 
solc = "0.8.23" 
src = "src" 
test = "test" 
@mario-eth mario-eth added enhancement New feature or request good first issue Good for newcomers labels May 25, 2024
@Solthodox
Copy link
Contributor

Feature added in forge init, is that enough?

@mario-eth
Copy link
Owner Author

Partial solved in: #193

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants