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

forge build - flag to show names of files that are not cached and being compiled #7888

Open
oveddan opened this issue May 7, 2024 · 0 comments
Labels
T-feature Type: feature

Comments

@oveddan
Copy link

oveddan commented May 7, 2024

Component

Forge

Describe the feature you would like

We have a ci workflow that downloads cached foundry build output before running forge build, in order to speed up compilation time. Sometimes foundry recompiles some of the files, even though it seems that the source code hasn't changed between builds. It would be great to add a flag that shows the names of the files being compiled.

For example, running forge build, when there are 221 files, and only some of the files have changed since the last build, produces the output while it compiles:
Compiling 20 files with 0.8.17

It would be great to be able to know the names of those 20 files.

If you add the --names flag, it will show all 221 files, regardless of if they were compiled or laoded from cache.

Additional context

No response

@oveddan oveddan added the T-feature Type: feature label May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-feature Type: feature
Projects
None yet
Development

No branches or pull requests

1 participant