Use recommended package config
This commit is contained in:
parent
02c7451692
commit
73ea244f4e
6 changed files with 9 additions and 5 deletions
|
|
@ -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
1
tests/nim.cfg
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
--path:"../src/"
|
||||||
BIN
tests/test
Executable file
BIN
tests/test
Executable file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue