summaryrefslogtreecommitdiff
path: root/xmake/packages/git/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-20 00:35:57 +0800
committerruki <[email protected]>2017-09-19 21:35:43 +0800
commit8edce1f3f7f2e779eb3bf66702d4b5271e82a63b (patch)
treef2bf8b6ed65c40fa7fe282dd183f050cb2224ed7 /xmake/packages/git/xmake.lua
parent61e826bbf495f139dbeff0bf912e50996fa8df07 (diff)
add action.test
Diffstat (limited to 'xmake/packages/git/xmake.lua')
-rw-r--r--xmake/packages/git/xmake.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/xmake/packages/git/xmake.lua b/xmake/packages/git/xmake.lua
index 529de378e..02612a4f8 100644
--- a/xmake/packages/git/xmake.lua
+++ b/xmake/packages/git/xmake.lua
@@ -3,18 +3,15 @@ package("git")
set_kind("binary")
set_homepage("https://git-scm.com/")
set_description("A free and open source distributed version control system")
--- add_imports("devel.package_manager", "lib.detect.find_tool")
+ add_imports("devel.package.manager", "lib.detect.find_tool")
on_build(function (package)
end)
on_install(function (package)
--- package_manager.install("git")
+ manager.install("git")
end)
on_install("windows", function (package)
end)
- on_test(function (package)
- assert(find_tool("git"))
- end)