foundry-multibuild
foundry-multibuild copied to clipboard
Support Forge flag "--skip script"
Requested by Matt Solomon here.
There are two ways in which this could be implemented:
- Add a new
skip-scriptinput. - Add a new input called
skipthat is a string and allows users to pass whatever they want.- The advantage of this would be that users could skip other directories, not just
testorscript - The disadvantage is that it would be quite complicated to implement - I need to check if Forge takes a glob path or it has to be a single directory
- The advantage of this would be that users could skip other directories, not just
forge's --skip does accept globs, and --skip test and --skip script are just aliases for *.t.sol and *.s.sol respectively (i.e. they don't actually skip the test and script folders, just files matching those extensions).
Fantastic, thanks for the color, @mds1.