-
Notifications
You must be signed in to change notification settings - Fork 445
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 semver_lt
/semver_gt
/semver_eq
/... functions
#1712
Comments
This seems reasonable to me, although I'm definitely curious if other people would find this useful, since it seems a little niche to me. We could get away with having a single function, |
And thank you for the kind words! I'm always super happy when people find just useful. |
Agreed -- I kind of squared this by thinking of it like a string manipulation problem? It's definitely unclear if it's something a ton of people want though...
This would be much better, great idea -- I'll put up a PR with this setup.
Absolutely no problem, useful is an understatement! |
Thanks for the awesome tool --
just
has been a huge part of my daily workflow and I take it to "just" about every project I start now.One thing I've often run into is the need to parse & check versions of dependencies cross-language/toolchain against each other, and checking/ensuring a certain version of semver often comes up.
For exact matches this is relatively simple, but it might be nice to do be able to do this a bit more semantically as a utility within
just
.A somewhat contrived example of what I'd like to be able to do is:
Does this seem like something that makes sense as a part of
just
?The text was updated successfully, but these errors were encountered: