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

Add an option that dumps package details to JSON #3293

Merged
merged 10 commits into from
Jun 11, 2024
Merged

Add an option that dumps package details to JSON #3293

merged 10 commits into from
Jun 11, 2024

Conversation

mattpolzin
Copy link
Collaborator

@mattpolzin mattpolzin commented Jun 2, 2024

Description

Adds a dump-ipkg-json option. It would be helpful to be able to "export" Idris2's package information in a format that is fairly universally understood. I have one definite use-case in mind, but I suspect that having authoritative access to this information would be useful in any number of build environments where build tooling is not written as an Idris app directly based on the compiler's API.

Should this change go in the CHANGELOG?

  • If this is a fix, user-facing change, a compiler change, or a new paper
    implementation, I have updated CHANGELOG_NEXT.md (and potentially also
    CONTRIBUTORS.md).

@mattpolzin mattpolzin marked this pull request as ready for review June 3, 2024 01:04
src/Idris/CommandLine.idr Outdated Show resolved Hide resolved
src/Idris/Package/ToJson.idr Show resolved Hide resolved
@gallais gallais merged commit 88a5328 into main Jun 11, 2024
48 checks passed
@gallais gallais deleted the package-json branch June 11, 2024 10:32
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