diff options
| author | ruki <[email protected]> | 2020-07-24 23:04:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-07-24 23:04:12 +0800 |
| commit | 52979164630aebfea2bda906ed5b9e29b865fcb7 (patch) | |
| tree | cea4e472f70b85ed918e0f94f3d04b515bdbd232 /tests/projects | |
| parent | 6b89d8b1edc849f8324dae490e635dca080ac473 (diff) | |
add go package manager
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/go/console_with_deps/xmake.lua | 4 |
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") |
