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

feat(odin): Add Odin Lang module #5873

Merged
merged 9 commits into from
Apr 5, 2024
Merged

Conversation

error-27
Copy link
Contributor

Description

This adds a new module that shows the current Odin version when in an Odin project. This includes a separate option to show commit numbers, and doesn't include a version format string because of Odin's irregular version numbering.

Motivation and Context

I noticed Odin was not supported and I felt like it should be added.

Screenshots (if appropriate):

Without commit number:
image
With commit number:
image

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@davidkna davidkna changed the title [feat] Add Odin Lang module feat: Add Odin Lang module Mar 27, 2024
src/utils.rs Outdated Show resolved Hide resolved
src/modules/odin.rs Show resolved Hide resolved
Copy link
Member

@davidkna davidkna left a comment

Choose a reason for hiding this comment

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

LGTM

@andytom andytom changed the title feat: Add Odin Lang module feat(odin): Add Odin Lang module Mar 29, 2024
@andytom andytom merged commit 335c514 into starship:master Apr 5, 2024
21 checks passed
@andytom
Copy link
Member

andytom commented Apr 5, 2024

Thank you for your contribution @error-27 and thank you for reviewing @davidkna.

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.

None yet

3 participants