19 lines
561 B
Lua
19 lines
561 B
Lua
package("zoost")
|
|
set_description("The zoost package")
|
|
|
|
add_urls("https://www.sinxmiao.cn/taynpg/zoost.git")
|
|
add_versions("0.1", "2ea77764211294da6feeeafea0255f13619555e0")
|
|
|
|
on_install(function (package)
|
|
local configs = {}
|
|
if package:config("shared") then
|
|
configs.kind = "shared"
|
|
end
|
|
import("package.tools.xmake").install(package, configs)
|
|
end)
|
|
|
|
on_test(function (package)
|
|
-- TODO check includes and interfaces
|
|
-- assert(package:has_cfuncs("foo", {includes = "foo.h"})
|
|
end)
|