Auto-update quickjs-ng to v0.7.0 (#5779)

* Update quickjs-ng to v0.7.0

* cp pdb

---------

Co-authored-by: star9029 <hengxings783@gmail.com>
pull/5784/head
ruki 6 days ago committed by GitHub
parent 27ba465b81
commit ed3d9fed41
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      packages/q/quickjs-ng/xmake.lua

@ -6,6 +6,7 @@ package("quickjs-ng")
add_urls("https://github.com/quickjs-ng/quickjs/archive/refs/tags/$(version).tar.gz",
"https://github.com/quickjs-ng/quickjs.git", {submodules = false})
add_versions("v0.7.0", "46c45cc2ed174474765dac8e41062998d92c4dd5fd779624da4073d6cd430eeb")
add_versions("v0.6.1", "276edbb30896cdf2eee12a8bdb5b9c1cc2734eac8c898de6d52268ae201e614d")
add_versions("v0.5.0", "41212a6fb84bfe07d61772c02513734b7a06465843ba8f76f1ce1e5df866f489")
@ -43,6 +44,11 @@ package("quickjs-ng")
table.insert(configs, "-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=ON")
end
import("package.tools.cmake").install(package, configs)
if package:is_plat("windows") and package:is_debug() then
local dir = package:installdir(package:config("shared") and "bin" or "lib")
os.vcp(path.join(package:buildir(), "qjs.pdb"), dir)
end
end)
on_test(function (package)

Loading…
Cancel
Save