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

Allow pdxinfo custom configuration #103

Merged
merged 2 commits into from
Feb 22, 2025
Merged

Allow pdxinfo custom configuration #103

merged 2 commits into from
Feb 22, 2025

Conversation

Nycto
Copy link
Collaborator

@Nycto Nycto commented Feb 18, 2025

Adds support for dropping a pdxinfo file in the root of a project that can override the auto-generated values. This also adds tests for generating the pdxinfo file themselves

Copy link
Collaborator

@ninovanhooff ninovanhooff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

writeFile("source" / "pdxinfo", $pdx)

proc join*(a, b: PdxInfo): PdxInfo =
## Combins two PdxInfo instances
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This, too could be documented in the README: "to override specific fields, place a file called pdxinfo with your overrides in the root of your game's project"

@Nycto Nycto merged commit 4ccc41e into samdze:main Feb 22, 2025
8 checks passed
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