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

Include gir files in GirTool as embedded resources #1089

Closed
adamreeve opened this issue Jul 4, 2024 · 0 comments · Fixed by #1091
Closed

Include gir files in GirTool as embedded resources #1089

adamreeve opened this issue Jul 4, 2024 · 0 comments · Fixed by #1091

Comments

@adamreeve
Copy link
Contributor

Related to #1078

In order to make GirTool useful as a standalone tool, it would be helpful to have the gir files for the common GObject based libraries already supported by gir.core available as embedded resources, so that users don't need to check out the gir-files repository to use GirTool.

Users would then need to ensure that they reference the required GirCore NuGet packages corresponding to the dependencies needed by their library, and the package versions should match the version of GirTool used.

I don't think this needs a new command line argument to GirTool, but the logic for looking up a gir file would be to first check in the directories from the --search-path-linux/macos/windows arguments, and if a file isn't found there, look it up from the embedded files.

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 a pull request may close this issue.

1 participant