Skip to content

package_variants

Tom van Dijck edited this page Jun 4, 2015 · 2 revisions

get the variants of a package. The variants member is a list of strings indicating the variants that exists on the package server of in the local cache. The package manager fills this list during the import.

Example

local p = package.get('blz_concurrent')
if p then
    print(table.tostring(p.variants))
end

Availability

Premake 5.0.0 or later.

Clone this wiki locally