Browse Source

update scripts

ruki 3 years ago
parent
commit
f89ae0bfc6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      build.lua

+ 2 - 0
build.lua

@@ -265,6 +265,8 @@ function write_package(file, pkg, plat, archs)
         file:print("xrepo install -p iphoneos %s", name)
         file:print("xrepo install -p iphoneos %s", name)
     elseif plat == "cross" then
     elseif plat == "cross" then
         file:print("xrepo install -p cross [--sdk=/xxx] %s", name)
         file:print("xrepo install -p cross [--sdk=/xxx] %s", name)
+    elseif plat == "wasm" then
+        file:print("xrepo install -p wasm %s", name)
     else
     else
         file:print("xrepo install %s", name)
         file:print("xrepo install %s", name)
     end
     end