tnimblepathlink.nim 327 B

123456789
  1. discard """
  2. action: run
  3. cmd: "nim $target --nimblePath:$fileDir/nimbleDir/linkedPkgs $options $file"
  4. """
  5. import pkgA/module as A
  6. import pkgB/module as B
  7. doAssert pkgATest() == 1, "Simple linked pkgA-0.1.0 wasn't added to path correctly."
  8. doAssert pkgBTest() == 0xDEADBEEF, "linked pkgB-#head wasn't picked over pkgB-0.1.0"