diff options
| author | ruki <[email protected]> | 2021-01-01 22:53:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-01-01 22:53:21 +0800 |
| commit | c8c6c07c028c3ae4e047154194f42af2e2253595 (patch) | |
| tree | 5fe9fa658353b4c684e0f8c4258779785c83f0df /xmake/core/package/package.lua | |
| parent | 2bbcfe0d7ef3c1f081c05a899a0837d3e75ab77c (diff) | |
set display name for package
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index ae4c02d74..d1ee4e683 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -671,14 +671,14 @@ function _instance:requireinfo_set(requireinfo) self._REQUIREINFO = requireinfo end --- get the require path -function _instance:requirepath() - return self._REQUIREPATH +-- get the display name +function _instance:displayname() + return self._DISPLAYNAME end --- set the require path -function _instance:requirepath_set(requirepath) - self._REQUIREPATH = requirepath +-- set the display name +function _instance:displayname_set(displayname) + self._DISPLAYNAME = displayname end -- get the given configuration value of package |
