implemented 'nimble publish'

This commit is contained in:
Araq 2015-08-18 12:27:07 +02:00
commit 68c1266a44
5 changed files with 230 additions and 26 deletions

View file

@ -29,6 +29,9 @@ type
of verAny:
nil
## Tuple containing package name and version range.
PkgTuple* = tuple[name: string, ver: VersionRange]
ParseVersionError* = object of ValueError
proc newVersion*(ver: string): Version = return Version(ver)