lyqyd / cc-packman

A package manager for ComputerCraft.
MIT License
29 stars 14 forks source link

Version String Support #51

Closed lyqyd closed 7 years ago

lyqyd commented 7 years ago

Remove old tonumber() version comparison and replace it with an iterative tonumber() comparison to check each period-separated component of the version string. Non-numeric characters in version strings will continue to be unsupported.

aaronmallen commented 7 years ago

:+1:

lyqyd commented 7 years ago

Huh. Looks like you can use whatever you want to use for version strings already. I'll have to update the documentation.

aaronmallen commented 7 years ago

@lyqyd so to clarify I can pass a semver friendly string?

lyqyd commented 7 years ago

Yes.