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

Unify display output #14

Closed
zimbatm opened this issue Jan 26, 2021 · 1 comment
Closed

Unify display output #14

zimbatm opened this issue Jan 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@zimbatm
Copy link
Member

zimbatm commented Jan 26, 2021

Depends on #7

It's possible to unify the display output by:

  • recording all the files that have changed (done as part of the evaluation cache update)
  • don't print out the formatter outputs (unless they fail)
  • display the list of files that have changed
@zimbatm zimbatm added the enhancement New feature or request label Jan 26, 2021
@zimbatm
Copy link
Member Author

zimbatm commented Feb 25, 2021

done

@zimbatm zimbatm closed this as completed Feb 25, 2021
brianmcgee added a commit that referenced this issue May 13, 2024
Tracks the mod time and size of a formatter's executable in bolt.

The cache is busted using the following criteria:

- a new formatter has been configured.
- an existing formatter has changed (mod time or size)
- an existing formatter has been removed from config

Also implemented better resolution of symlinks when determining a formatters executable path.

Reviewed-on: https://git.numtide.com/numtide/treefmt/pulls/14
Reviewed-by: Jonas Chevalier <[email protected]>
Co-authored-by: Brian McGee <[email protected]>
Co-committed-by: Brian McGee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant