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

feat: lean --src-deps #6427

Merged
merged 1 commit into from
Jan 13, 2025
Merged

feat: lean --src-deps #6427

merged 1 commit into from
Jan 13, 2025

Conversation

tydeu
Copy link
Member

@tydeu tydeu commented Dec 20, 2024

This PR adds the Lean CLI option --src-deps which parallels --deps. It parses the Lean code's header and prints out the paths to the (transitively) imported modules' source files (deduced from LEAN_SRC_PATH).

@tydeu tydeu added the changelog-language Language features, tactics, and metaprograms label Dec 20, 2024
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Dec 20, 2024
@leanprover-community-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 1214e6463f4196f4e0e70cd3a282172b56164d87 --onto a8a160b09147c3225150703ac727eea6ee9a3b0e. (2024-12-20 20:36:56)

@Kha Kha self-requested a review January 5, 2025 16:53
@Kha
Copy link
Member

Kha commented Jan 7, 2025

Is this something that could instead become part of --deps-json?

@tydeu tydeu marked this pull request as ready for review January 13, 2025 15:32
@tydeu tydeu added this pull request to the merge queue Jan 13, 2025
@tydeu tydeu removed this pull request from the merge queue due to a manual request Jan 13, 2025
@tydeu tydeu added this pull request to the merge queue Jan 13, 2025
Merged via the queue into leanprover:master with commit 30ba383 Jan 13, 2025
20 checks passed
@tydeu tydeu deleted the src-deps branch January 13, 2025 18:53
luisacicolini pushed a commit to opencompl/lean4 that referenced this pull request Jan 21, 2025
This PR adds the Lean CLI option `--src-deps` which parallels `--deps`.
It parses the Lean code's header and prints out the paths to the
(transitively) imported modules' source files (deduced from
`LEAN_SRC_PATH`).
JovanGerb pushed a commit to JovanGerb/lean4 that referenced this pull request Jan 21, 2025
This PR adds the Lean CLI option `--src-deps` which parallels `--deps`.
It parses the Lean code's header and prints out the paths to the
(transitively) imported modules' source files (deduced from
`LEAN_SRC_PATH`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-language Language features, tactics, and metaprograms toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants