Use recommended package config

This commit is contained in:
Joey Payne 2017-02-01 15:23:42 -07:00
commit 73ea244f4e
6 changed files with 9 additions and 5 deletions

View file

@ -1,11 +1,14 @@
[Package] # Package
name = "einheit"
version = "0.1.6" version = "0.1.6"
author = "Joey Payne" author = "Joey Payne"
description = "Tool for providing unit tests. Einheit is German for Unit." description = "Tool for providing unit tests. Einheit is German for Unit."
license = "MIT" license = "MIT"
bin = "einheit" srcDir = "src"
[Deps] # Deps
Requires: "nim >= 0.11.3" requires "nim >= 0.11.3"
task test, "Run tests":
exec "nim c -r tests/test.nim"

1
tests/nim.cfg Normal file
View file

@ -0,0 +1 @@
--path:"../src/"

BIN
tests/test Executable file

Binary file not shown.