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 Git repository information to TemplateHaskell splice #182

Merged
merged 2 commits into from
May 13, 2023

Conversation

istathar
Copy link
Member

@istathar istathar commented May 13, 2023

Add information about the Git repository the software was built within available via the TemplateHaskell fromPackage splice in the Version object.

@istathar istathar added the core-program Issues involving the Program type and command-line options & argument parsing label May 13, 2023
@istathar istathar self-assigned this May 13, 2023
@istathar istathar changed the title Add Commit and TemplateHaskell splice to get Git hash Add TemplateHaskell splice to get Git hash May 13, 2023
@istathar
Copy link
Member Author

Hm. Rather than putting that in a new object, I think I'll just stuff it into the Version object we've already got, and add a few additional accessors.

@istathar istathar changed the title Add TemplateHaskell splice to get Git hash Add Git repository information to TemplateHaskell splice May 13, 2023
@istathar
Copy link
Member Author

Added the Git information to the --version output too. That's nice.

@istathar istathar merged commit 62c159b into aesiniath:main May 13, 2023
@istathar istathar deleted the git-info branch May 13, 2023 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core-program Issues involving the Program type and command-line options & argument parsing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant