Closed travs closed 1 week ago
Weirdly, doing forge build .
works (but still not forge build
without the .
).
Not sure why this would be the case on my system, but please feel free to close this as irrelevant.
Found out I had set FOUNDRY_ROOT
to something else, giving this wierdness. Closing.
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (58bf161 2024-11-07T00:20:40.732513260Z)
What command(s) is the bug in?
forge build
Operating System
Windows
Describe the bug
I selected windows as the OS in my bug report, but really it is WSL:
When I initialize a new project with
forge init
, it isn't picking up the contracts when I doforge build
.I uninstalled foundry with
rm -rf ~/.config/.foundry
, then reinstalled with thecurl
command from the wiki. Tried again and same result.