Skip to content

Quality of life improvements for build cache #1107

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

Merged
merged 3 commits into from
Feb 21, 2022

Conversation

nevkontakte
Copy link
Member

  • Optional logging of build cache use and errors.
  • gopherjs clean command to clear the entire cache.
  • -a flag to force a clean rebuild for the specified targets, but without the complete cache erasure.

By default only error-level messages are printed to the terminal,
controlled by the new --log_level flag. Use it to log errors build cache
library swallows.
The flag behaves similar to the Go tool, any existing cached archives
are ignored by the compiler and all packages are rebuilt from scratch.
However, the resulting archives are still written back into the cache.
@nevkontakte nevkontakte requested a review from flimzy February 19, 2022 21:22
@nevkontakte nevkontakte merged commit 0b2280d into gopherjs:master Feb 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants