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

Check that purs version is at least what the package-set specifies #101

Closed
f-f opened this issue Feb 7, 2019 · 0 comments
Closed

Check that purs version is at least what the package-set specifies #101

f-f opened this issue Feb 7, 2019 · 0 comments
Labels

Comments

@f-f
Copy link
Member

f-f commented Feb 7, 2019

As detailed in #98 (comment), we should run purs --version every time we want to install packages, to check that we're running at least the compiler version specified by the package-set (see spacchetti/spacchetti#63)

If the version isn't there we should skip the check (see #94 for when we could fail instead), if the version is there we should fail if it's not SemVer-compatible (e.g. 0.11.x is not compatible with 0.12.x, but 0.12.x is compatible with 0.12.y, if x > y and the compiler has x), so that the user can install the right version of the compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant