From 484cb13317921c78468dc3f9c16a0fc786b119c0 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Mon, 18 Mar 2019 13:03:52 +0100 Subject: Separate non-documentation tests from the code --- dub.json | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'dub.json') diff --git a/dub.json b/dub.json index 3fd1ec6..9883955 100644 --- a/dub.json +++ b/dub.json @@ -14,7 +14,8 @@ "tanya:sys": "*", "tanya:os": "*", "tanya:encoding": "*", - "tanya:memory": "*" + "tanya:middle": "*", + "tanya:test": "*" }, "dependencies-linux": { @@ -26,7 +27,8 @@ "./sys", "./os", "./encoding", - "./memory" + "./middle", + "./test" ], "configurations": [ @@ -47,6 +49,17 @@ "preBuildCommands": ["ninja -C arch"], "lflags": ["arch/tanya.a"], "versions": ["TanyaNative"] + }, + { + "name": "unittest", + "importPaths": [ + "./source", + "./tests" + ], + "sourcePaths": [ + "./source", + "./tests" + ] } ], -- cgit v1.2.3