diff options
Diffstat (limited to 'xmake')
| -rw-r--r-- | xmake/templates/go/static/project/src/test/add.go | 6 | ||||
| -rw-r--r-- | xmake/templates/go/static/project/src/test/sub.go | 6 | ||||
| -rw-r--r-- | xmake/templates/go/static/project/xmake.lua | 2 |
3 files changed, 1 insertions, 13 deletions
diff --git a/xmake/templates/go/static/project/src/test/add.go b/xmake/templates/go/static/project/src/test/add.go deleted file mode 100644 index 98ffef600..000000000 --- a/xmake/templates/go/static/project/src/test/add.go +++ /dev/null @@ -1,6 +0,0 @@ -package module - -func Add(a int, b int) int { - return a + b; -} - diff --git a/xmake/templates/go/static/project/src/test/sub.go b/xmake/templates/go/static/project/src/test/sub.go deleted file mode 100644 index a24a9abb7..000000000 --- a/xmake/templates/go/static/project/src/test/sub.go +++ /dev/null @@ -1,6 +0,0 @@ -package module - -func Sub(a int, b int) int { - return a - b; -} - diff --git a/xmake/templates/go/static/project/xmake.lua b/xmake/templates/go/static/project/xmake.lua index 2e06e32ff..076ac6460 100644 --- a/xmake/templates/go/static/project/xmake.lua +++ b/xmake/templates/go/static/project/xmake.lua @@ -2,7 +2,7 @@ add_rules("mode.debug", "mode.release") target("module") set_kind("static") - add_files("src/test/*.go") + add_files("src/module/*.go") target("${TARGETNAME}_demo") set_kind("binary") |
