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

Inject build information when compiling #287

Merged
merged 4 commits into from
Nov 21, 2024
Merged

Conversation

vocksel
Copy link
Collaborator

@vocksel vocksel commented Nov 21, 2024

Problem

It can be useful to know the version, channel, and commit hash for a given build of Flipbook, especially to help when debugging. We only include the version right now, the other two would be useful

Solution

Created a new BuildInfo component which gets mounted on AboutView. It leverages some new globals that get injected during the darklua build step.

I've also removed the inclusion of wally.toml in the Flipbook plugin build since the only info we were using was the version, and that's now supplied via _G.BUILD_VERSION

Checklist

  • Ran lune run test locally before merging

@vocksel vocksel marked this pull request as ready for review November 21, 2024 18:39
@ghostnaps ghostnaps enabled auto-merge (squash) November 21, 2024 18:48
@ghostnaps ghostnaps disabled auto-merge November 21, 2024 18:48
@vocksel vocksel merged commit 3998410 into main Nov 21, 2024
7 checks passed
@vocksel vocksel deleted the inject-build-information branch November 21, 2024 18:48
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.

1 participant