Skip to content

Conversation

@ThisIsMissEm
Copy link
Contributor

This is pretty basic, but it'll help when contributing to both community.hachyderm.io and nivenly.org, as they use different hugo versions, so installing them through a version manager such as asdf simplifies things.

Rather than repeating the version twice, I parse the .tool-versions file for the hugo version, assuming we always use extended mode.

Choose a reason for hiding this comment

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

Non blocking, but a question: Is .tool-version an asdf thing or from somewhere else? I like the idea just haven't seen it that generic before and am curious

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's kinda an asdf thing, though a few other tools are also interoperable with it: https://asdf-vm.com/manage/configuration.html#tool-versions

Choose a reason for hiding this comment

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

Neat, thanks.

Copy link
Contributor

@e-nomem e-nomem left a comment

Choose a reason for hiding this comment

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

I don't regularly use asdf, but LGTM

@ThisIsMissEm ThisIsMissEm merged commit 0a2d397 into main Jan 30, 2025
3 checks passed
@e-nomem e-nomem deleted the feat/use-tool-versions branch August 3, 2025 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants