Attempt to reproduce #564.
This commit is contained in:
parent
46dc98bb62
commit
a703de5dbd
3 changed files with 24 additions and 0 deletions
14
tests/issue564/issue564.nimble
Normal file
14
tests/issue564/issue564.nimble
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# Package
|
||||
|
||||
version = "0.1.0"
|
||||
author = "Dominik Picheta"
|
||||
description = "A new awesome nimble package"
|
||||
license = "MIT"
|
||||
srcDir = "src"
|
||||
bin = @["issue564/issue564build"]
|
||||
|
||||
|
||||
|
||||
# Dependencies
|
||||
|
||||
requires "nim >= 0.16.0"
|
||||
5
tests/issue564/src/issue564/issue564build.nim
Normal file
5
tests/issue564/src/issue564/issue564build.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# This is just an example to get you started. A typical binary package
|
||||
# uses this file as the main entry point of the application.
|
||||
|
||||
when isMainModule:
|
||||
echo("Hello, World!")
|
||||
|
|
@ -79,6 +79,11 @@ proc hasLineStartingWith(lines: seq[string], prefix: string): bool =
|
|||
return true
|
||||
return false
|
||||
|
||||
test "issue 564":
|
||||
cd "issue564":
|
||||
var (output, exitCode) = execNimble("build")
|
||||
check exitCode == QuitSuccess
|
||||
|
||||
test "depsOnly + flag order test":
|
||||
var (output, exitCode) = execNimble(
|
||||
"--depsOnly", "install", "-y", "https://github.com/nimble-test/packagebin2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue