Skip to content

Commit

Permalink
add rc4
Browse files Browse the repository at this point in the history
  • Loading branch information
burdockcascade committed Oct 2, 2024
1 parent bdb35b2 commit 55f1ab3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/l/luabridge3/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ package("luabridge3")

add_urls("https://github.com/kunitoki/LuaBridge3/archive/refs/tags/$(version).tar.gz",
"https://github.com/kunitoki/LuaBridge3.git")

add_versions("3.0-rc4", "7aaebb588a8271993de58e45c5b126af96f7779a12fea0dee2a115de4de1d75b")
add_versions("3.0-rc3", "842a3803587c42568f6f4e65314f762fb7724c9c7c91efc930282921dbf9a79f")

on_install(function (package)
os.cp("Source", path.join(package:installdir("include"), "luabridge3"))
os.cp("Source/LuaBridge", path.join(package:installdir("include"), "LuaBridge"))
end)

on_test(function (package)
assert(package:check_cxxsnippets({test = [[
#define LUA_VERSION_NUM
#include <luabridge3/LuaBridge/detail/Errors.h>
#include <LuaBridge/detail/Errors.h>
void test()
{
luabridge::ErrorCode errorCode;
Expand All @@ -25,3 +27,5 @@ package("luabridge3")
]]}, {configs = {languages = "c++17"}}))
end)



0 comments on commit 55f1ab3

Please sign in to comment.