summaryrefslogtreecommitdiff
path: root/tests/projects/go/static_library_with_pkgs/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/go/static_library_with_pkgs/xmake.lua')
-rw-r--r--tests/projects/go/static_library_with_pkgs/xmake.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/projects/go/static_library_with_pkgs/xmake.lua b/tests/projects/go/static_library_with_pkgs/xmake.lua
deleted file mode 100644
index 6943a29aa..000000000
--- a/tests/projects/go/static_library_with_pkgs/xmake.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-add_rules("mode.debug", "mode.release")
-
-add_requires("go::github.com/sirupsen/logrus", {alias = "logrus"})
-add_requires("go::golang.org/x/sys/internal/unsafeheader", {alias = "unsafeheader"})
-if is_plat("windows") then
- add_requires("go::golang.org/x/sys/windows", {alias = "syshost"})
-else
- add_requires("go::golang.org/x/sys/unix", {alias = "syshost"})
-end
-
-target("module")
- set_kind("static")
- add_files("src/test/*.go")
- add_packages("logrus", "syshost", "unsafeheader")
-
-target("test")
- set_kind("binary")
- add_deps("module")
- add_files("src/*.go")