diff options
| author | ruki <[email protected]> | 2021-01-01 22:51:40 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-01 22:51:40 +0800 |
| commit | 2bbcfe0d7ef3c1f081c05a899a0837d3e75ab77c (patch) | |
| tree | d1c6be85eccf5973b30f990a3ea2e37bbf0cbae4 /xmake/core/package/package.lua | |
| parent | c32f997ada7dc58ba48633e958bd06c15cf8693f (diff) | |
show requirepath
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 416315490..ae4c02d74 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -671,6 +671,16 @@ function _instance:requireinfo_set(requireinfo) self._REQUIREINFO = requireinfo end +-- get the require path +function _instance:requirepath() + return self._REQUIREPATH +end + +-- set the require path +function _instance:requirepath_set(requirepath) + self._REQUIREPATH = requirepath +end + -- get the given configuration value of package function _instance:config(name) local configs = self:configs() |
