You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I create a foundry project by running forge init <project_name>, I create a folder in it called scripts and add a script contract to it.
Then when I run forge build every contract in the project except the one in the scripts folder compiles. For some reason forge build ignores the script contract when it's in the scripts folder but when I move it to the src folder or the test folder, it gets compiled.
I also get this issue when I try to run forge script but I'm guessing forge build is the source of the bug.
btw, I'm on windows but I'm running WSL. There was no option for it so I just choose Linux.
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (3fc1491 2022-06-06T00:12:33.657656525Z)
What command(s) is the bug in?
forge build
Operating System
Linux
Describe the bug
After I create a foundry project by running
forge init <project_name>
, I create a folder in it calledscripts
and add a script contract to it.Then when I run
forge build
every contract in the project except the one in thescripts
folder compiles. For some reasonforge build
ignores the script contract when it's in thescripts
folder but when I move it to thesrc
folder or thetest
folder, it gets compiled.I also get this issue when I try to run
forge script
but I'm guessingforge build
is the source of the bug.btw, I'm on windows but I'm running WSL. There was no option for it so I just choose Linux.
The text was updated successfully, but these errors were encountered: