mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 12:19:09 +00:00
More fixes to get moonwave parsing
This commit is contained in:
parent
623af1c312
commit
a0f92227f3
2 changed files with 8 additions and 3 deletions
|
@ -82,6 +82,7 @@ local process = {}
|
||||||
|
|
||||||
--[=[
|
--[=[
|
||||||
@within Process
|
@within Process
|
||||||
|
@prop os OS
|
||||||
@tag read_only
|
@tag read_only
|
||||||
|
|
||||||
The current operating system being used.
|
The current operating system being used.
|
||||||
|
@ -96,6 +97,7 @@ process.os = (nil :: any) :: OS
|
||||||
|
|
||||||
--[=[
|
--[=[
|
||||||
@within Process
|
@within Process
|
||||||
|
@prop arch Arch
|
||||||
@tag read_only
|
@tag read_only
|
||||||
|
|
||||||
The architecture of the processor currently being used.
|
The architecture of the processor currently being used.
|
||||||
|
@ -109,6 +111,7 @@ process.arch = (nil :: any) :: Arch
|
||||||
|
|
||||||
--[=[
|
--[=[
|
||||||
@within Process
|
@within Process
|
||||||
|
@prop args { string }
|
||||||
@tag read_only
|
@tag read_only
|
||||||
|
|
||||||
The arguments given when running the Lune script.
|
The arguments given when running the Lune script.
|
||||||
|
@ -117,6 +120,7 @@ process.args = (nil :: any) :: { string }
|
||||||
|
|
||||||
--[=[
|
--[=[
|
||||||
@within Process
|
@within Process
|
||||||
|
@prop cwd string
|
||||||
@tag read_only
|
@tag read_only
|
||||||
|
|
||||||
The current working directory in which the Lune script is running.
|
The current working directory in which the Lune script is running.
|
||||||
|
@ -125,7 +129,8 @@ process.cwd = (nil :: any) :: string
|
||||||
|
|
||||||
--[=[
|
--[=[
|
||||||
@within Process
|
@within Process
|
||||||
@read_write
|
@prop { [string]: string? } env
|
||||||
|
@tag read_write
|
||||||
|
|
||||||
Current environment variables for this process.
|
Current environment variables for this process.
|
||||||
|
|
||||||
|
|
|
@ -90,7 +90,7 @@ end
|
||||||
| `zlib` | https://www.zlib.net |
|
| `zlib` | https://www.zlib.net |
|
||||||
|
|
||||||
@param format The format to use
|
@param format The format to use
|
||||||
@param encoded The string to compress
|
@param s The string to compress
|
||||||
@return The compressed string
|
@return The compressed string
|
||||||
]=]
|
]=]
|
||||||
function serde.compress(format: CompressDecompressFormat, s: string): string
|
function serde.compress(format: CompressDecompressFormat, s: string): string
|
||||||
|
@ -113,7 +113,7 @@ end
|
||||||
| `zlib` | https://www.zlib.net |
|
| `zlib` | https://www.zlib.net |
|
||||||
|
|
||||||
@param format The format to use
|
@param format The format to use
|
||||||
@param encoded The string to decompress
|
@param s The string to decompress
|
||||||
@return The decompressed string
|
@return The decompressed string
|
||||||
]=]
|
]=]
|
||||||
function serde.decompress(format: CompressDecompressFormat, s: string): string
|
function serde.decompress(format: CompressDecompressFormat, s: string): string
|
||||||
|
|
Loading…
Reference in a new issue