[ALOY-1333] Support check if compatible Alloy version is used
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | None |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Tooling |
Labels | n/a |
Reporter | Fokke Zandbergen |
Assignee | Bruce Wayne |
Created | 2015-11-20T08:28:30.000+0000 |
Updated | 2015-11-20T08:28:30.000+0000 |
Description
For samples in particular it would be helpful if you could set a
alloyVersionRange
in config.json
that at compile time would be used with [semver.satisfies()](https://www.npmjs.com/package/semver) to check if the Alloy version used to compile the project meets the requirements and if not, fail.
As a workaround I use this alloy.jmk
now:
https://gist.github.com/FokkeZB/6a8c503d2c3ce69d11bb
No comments