diff options
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) |
