summaryrefslogtreecommitdiff
path: root/tests/projects/dlang/console_with_pkgs/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-07-25 23:22:11 +0800
committerruki <[email protected]>2020-07-25 23:22:11 +0800
commit9444d665d8ed9f2a23c265ffe6dacecda2485820 (patch)
tree9eaec0b8a4665fd7fe07a16c3ac82c390b5b8fb6 /tests/projects/dlang/console_with_pkgs/xmake.lua
parent56c0819b70ee17f8f8f1f5d27d2f905ee34bb726 (diff)
support dub package manager
Diffstat (limited to 'tests/projects/dlang/console_with_pkgs/xmake.lua')
-rw-r--r--tests/projects/dlang/console_with_pkgs/xmake.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/dlang/console_with_pkgs/xmake.lua b/tests/projects/dlang/console_with_pkgs/xmake.lua
index b1b8e0bfb..89592ecd5 100644
--- a/tests/projects/dlang/console_with_pkgs/xmake.lua
+++ b/tests/projects/dlang/console_with_pkgs/xmake.lua
@@ -1,6 +1,13 @@
add_rules("mode.debug", "mode.release")
+add_requires("dub::log 0.4.3", {alias = "log"})
+add_requires("dub::dateparser", {alias = "dateparser"})
+add_requires("dub::emsi_containers", {alias = "emsi_containers"})
+add_requires("dub::stdx-allocator", {alias = "stdx-allocator"})
+add_requires("dub::mir-core", {alias = "mir-core"})
+
target("test")
set_kind("binary")
add_files("src/*.d")
+ add_packages("log", "dateparser", "emsi_containers", "stdx-allocator", "mir-core")