This commit is contained in:
parent
46f26e1d4a
commit
d6a6a47dd9
1 changed files with 3 additions and 3 deletions
|
|
@ -164,8 +164,8 @@ test "correct welcome":
|
||||||
writeFile(nimbleFile, """# Package
|
writeFile(nimbleFile, """# Package
|
||||||
|
|
||||||
version = $#
|
version = $#
|
||||||
author = $#
|
author = "$#"
|
||||||
description = $#
|
description = "$#"
|
||||||
license = $#
|
license = $#
|
||||||
srcDir = $#
|
srcDir = $#
|
||||||
$#
|
$#
|
||||||
|
|
@ -175,7 +175,7 @@ $#
|
||||||
|
|
||||||
requires "nim >= $#"
|
requires "nim >= $#"
|
||||||
""" % [
|
""" % [
|
||||||
info.pkgVersion.escape(), info.pkgAuthor, info.pkgDesc,
|
info.pkgVersion.escape(), info.pkgAuthor.replace("\"", "\\\""), info.pkgDesc.replace("\"", "\\\""),
|
||||||
info.pkgLicense.escape(), info.pkgSrcDir.escape(), nimbleFileOptions,
|
info.pkgLicense.escape(), info.pkgSrcDir.escape(), nimbleFileOptions,
|
||||||
pkgBackend, info.pkgNimDep
|
pkgBackend, info.pkgNimDep
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue