Skip to content

package_current

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

The current package executing. This value is a global value that should only ever be read from, and never be modified. The package manager manages this value. It will be mostly 'nil', except during the execution of a premake5-package.lua script, allowing you to override the default behavior of the package manager, as described here

package.current

Return value

The current executing package.

Availability

Premake 5.0.0 or later.

Clone this wiki locally