tnimblepath.nim 415 B

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