Implements basic support for building with .nimble-link'ed packages.

This commit is contained in:
Dominik Picheta 2017-08-16 22:22:00 +01:00
commit 97dc0ffb45
8 changed files with 90 additions and 31 deletions

View file

@ -0,0 +1,12 @@
# Package
version = "1.0"
author = "Dominik Picheta"
description = "dependent"
license = "MIT"
srcDir = "src"
# Dependencies
requires "nim >= 0.16.0", "srcdirtest"

View file

@ -0,0 +1,3 @@
import srcdirtest
doAssert foo() == "correct"

View file

@ -1 +1,4 @@
proc foo*(): string =
return "correct"
echo("hello")