Fixes version conflicts when building between special&non-special.

Refs #289. Aporia still cannot be installed. In addition,
the myVersion vs. version should be refactored into version vs.
specialVersion.
This commit is contained in:
Dominik Picheta 2016-12-27 00:42:05 +00:00
commit d192de6511
7 changed files with 47 additions and 11 deletions

View file

@ -41,6 +41,14 @@ proc inLines(lines: seq[string], line: string): bool =
for i in lines:
if line.normalize in i.normalize: return true
test "can build with #head and versioned package (#289)":
# Clear nimble dir.
removeDir(installDir)
createDir(installDir)
cd "issue289":
check execNimble(["install", "-y"]).exitCode == QuitSuccess
test "can validate package structure (#144)":
# Clear nimble dir.
removeDir(installDir)