summaryrefslogtreecommitdiff
path: root/tests/projects
diff options
context:
space:
mode:
authorruki <[email protected]>2020-07-24 23:04:12 +0800
committerruki <[email protected]>2020-07-24 23:04:12 +0800
commit52979164630aebfea2bda906ed5b9e29b865fcb7 (patch)
treecea4e472f70b85ed918e0f94f3d04b515bdbd232 /tests/projects
parent6b89d8b1edc849f8324dae490e635dca080ac473 (diff)
add go package manager
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/go/console_with_deps/xmake.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/projects/go/console_with_deps/xmake.lua b/tests/projects/go/console_with_deps/xmake.lua
index 753a88a08..41c80304e 100644
--- a/tests/projects/go/console_with_deps/xmake.lua
+++ b/tests/projects/go/console_with_deps/xmake.lua
@@ -1,6 +1,10 @@
add_rules("mode.debug", "mode.release")
+add_requires("go::golang.org/x/sys/unix", {alias = "unix"})
+add_requires("go::github.com/sirupsen/logrus", {alias = "logrus"})
+
target("test")
set_kind("binary")
add_files("src/*.go")
+ add_packages("logrus", "unix")