Skip to content

Commit

Permalink
refactor: caching logic (#90)
Browse files Browse the repository at this point in the history
Currently we are not keeping cache entries for files which were out of
scope of compiler (might be dirty or not)

Because of that, when running `forge compile`, then running `forge
compile --skip ...` which will filter some artifacts out, and then
running `forge compile` again, some artifacts will be recompiled,
because `--skip` run removed those entries from cache.

Solution is to keep those entries in cache (we already silently keep
artifacts anyway).
  • Loading branch information
klkvr authored Mar 13, 2024
1 parent 6d42041 commit 70c6f8b
Show file tree
Hide file tree
Showing 4 changed files with 249 additions and 343 deletions.
Loading

0 comments on commit 70c6f8b

Please sign in to comment.