Skip to content

[Merged by Bors] - feat: add lake exe shake tree shaking tool#9346

Closed
digama0 wants to merge 4 commits intomasterfrom
shake
Closed

[Merged by Bors] - feat: add lake exe shake tree shaking tool#9346
digama0 wants to merge 4 commits intomasterfrom
shake

Conversation

@digama0
Copy link
Copy Markdown
Member

@digama0 digama0 commented Dec 30, 2023

This adds the lake exe shake command, which will check that every import is used in some constant. This has some known false positives because dependencies on notations and tactics are not tracked, so the noshake.json file is used to indicate that a file should always be treated as used, or that specific imports in specific files are treated as used.


Open in Gitpod

@ghost ghost added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 10, 2024
@ghost ghost removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 14, 2024
@urkud urkud requested a review from eric-wieser January 14, 2024 16:24
@kim-em
Copy link
Copy Markdown
Contributor

kim-em commented Jan 15, 2024

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jan 15, 2024
mathlib-bors bot pushed a commit that referenced this pull request Jan 15, 2024
This adds the `lake exe shake` command, which will check that every import is used in some constant. This has some known false positives because dependencies on notations and tactics are not tracked, so the `noshake.json` file is used to indicate that a file should always be treated as used, or that specific imports in specific files are treated as used.



Co-authored-by: Mario Carneiro <di.gama@gmail.com>
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jan 15, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat: add lake exe shake tree shaking tool [Merged by Bors] - feat: add lake exe shake tree shaking tool Jan 15, 2024
@mathlib-bors mathlib-bors bot closed this Jan 15, 2024
@mathlib-bors mathlib-bors bot deleted the shake branch January 15, 2024 01:46
linesthatinterlace pushed a commit that referenced this pull request Jan 16, 2024
This adds the `lake exe shake` command, which will check that every import is used in some constant. This has some known false positives because dependencies on notations and tactics are not tracked, so the `noshake.json` file is used to indicate that a file should always be treated as used, or that specific imports in specific files are treated as used.



Co-authored-by: Mario Carneiro <di.gama@gmail.com>
Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants