diff options
| author | ruki <[email protected]> | 2017-09-19 22:48:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-19 10:49:09 +0800 |
| commit | 32423290638ffa3963d131abbb4280bd4f3baa53 (patch) | |
| tree | bde9e7881230b215a18185fcb74b1d2b4bfe3692 /xmake/packages/git/xmake.lua | |
| parent | 48e86182ee1b3a73f5c16e2fbb2fdebfe5c75d89 (diff) | |
add kind for package
Diffstat (limited to 'xmake/packages/git/xmake.lua')
| -rw-r--r-- | xmake/packages/git/xmake.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/xmake/packages/git/xmake.lua b/xmake/packages/git/xmake.lua index e703a4246..f2112ee8c 100644 --- a/xmake/packages/git/xmake.lua +++ b/xmake/packages/git/xmake.lua @@ -1,11 +1,16 @@ 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") + print("install git") +-- package_manager.install("git") end) on_install("windows", function (package) |
