diff options
| author | ruki <[email protected]> | 2017-09-17 21:26:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-17 21:26:55 +0800 |
| commit | 9e730f52fd7a2dfecefc88ca620db855d6aa668b (patch) | |
| tree | c855a254d0838dd41eed94afca698942d80657d8 /xmake/packages/git/xmake.lua | |
| parent | ca273d79459b563d649e7fdfea0b2a472f6ef4ca (diff) | |
add builtin-packages
Diffstat (limited to 'xmake/packages/git/xmake.lua')
| -rw-r--r-- | xmake/packages/git/xmake.lua | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/xmake/packages/git/xmake.lua b/xmake/packages/git/xmake.lua new file mode 100644 index 000000000..e703a4246 --- /dev/null +++ b/xmake/packages/git/xmake.lua @@ -0,0 +1,16 @@ +package("git") + + 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") + + on_install(function (package) + package_manager.install("git") + end) + + on_install("windows", function (package) + end) + + on_test(function (package) + assert(find_tool("git")) + end) |
