summaryrefslogtreecommitdiff
path: root/xmake/modules/package/manager/install.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-09-21 23:27:00 +0800
committerruki <[email protected]>2017-09-21 14:42:01 +0800
commit034185734b5bc91f8188c15c9e02b0ce8ebaa850 (patch)
tree17788345197514d464006129d76a0d36f2addf35 /xmake/modules/package/manager/install.lua
parent253e814d11d2af31088a22401a28b4a6abef70e3 (diff)
improve option and add require option
Diffstat (limited to 'xmake/modules/package/manager/install.lua')
-rw-r--r--xmake/modules/package/manager/install.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/manager/install.lua b/xmake/modules/package/manager/install.lua
index 7ebd34180..175a1cecf 100644
--- a/xmake/modules/package/manager/install.lua
+++ b/xmake/modules/package/manager/install.lua
@@ -40,6 +40,8 @@ function main(name, opt)
table.insert(scripts, import("yum.install", {anonymous = true}))
table.insert(scripts, import("pacman.install", {anonymous = true}))
table.insert(scripts, import("brew.install", {anonymous = true}))
+ elseif host = "windows" then
+ table.insert(scripts, import("pacman.install", {anonymous = true})) -- msys/mingw
end
assert(#scripts > 0, "package manager not found!")