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:
parent
95a60dc780
commit
a68a4bfaf2
10 changed files with 10 additions and 115 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue