Skip to content

azbukagh/BrightProof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BrightProof Page on DUB Licence

============= SemVer 2.0.0 parsing and constructing library

Comparing

You can compare structs.

SemVer("1.0.0-rc.1") < SemVer("1.0.0-rc.20");
SemVer("1.0.0-rc.1") < SemVer("1.0.0");
SemVer("1.0.0-rc.1") < SemVer("1.0.0+build.1");

Examples

Check out ./examples directory

Compile-time

You can use this library at compile-time.

pragma(msg, SemVer("1.0.0").nextMajor.nextMinor.toString);