blob: 5a02187fd83616d98314e929c9a9689a615fe72a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-- an addon can ship the package definitions, so that a project only needs
-- includes("@addon/custom-package/packages") and add_requires("hello-utils")
package("hello-utils")
set_kind("library", {headeronly = true})
set_description("the custom package of the tests")
-- the sources are shipped by this addon, so it can be installed offline
set_sourcedir(path.join(os.scriptdir(), "src"))
on_install(function (package)
os.cp("include", package:installdir())
end)
package_end()
|