Remove install.txt and readme.txt (#9521)

* Remove install.txt and readme.txt

* Refactor tests that use readme.txt

* Tests open own source code
This commit is contained in:
Utwo 2018-10-28 14:36:52 +02:00 • committed by Andreas Rumpf
commit a68a4bfaf2
10 changed files with 10 additions and 115 deletions

View file

@ -4,8 +4,8 @@ template getScriptDir(): string =
parentDir(instantiationInfo(-1, true).filename)
const
relRes = slurp"../../readme.txt"
absRes = slurp(parentDir(parentDir(getScriptDir())) / "readme.txt")
relRes = slurp"./tslurp.nim"
absRes = slurp(getScriptDir() / "tslurp.nim")
echo relRes
echo absRes