18 lines
543 B
Text
18 lines
543 B
Text
|
|
||
|
Before Warp 5, building your own package.dat file
|
||
|
wasn't that hard, but with the new update bringing
|
||
|
in dependency handling, the format has changed.
|
||
|
Basically, the package.dat file is a complex table:
|
||
|
{
|
||
|
package_name = { -- The root structure ID
|
||
|
apis = { -- Files put in /usr/api
|
||
|
apione = "paste123",
|
||
|
apitwo = "pastebin",
|
||
|
},
|
||
|
bins = { -- Files put in /usr/bin
|
||
|
binone = "pasted00",
|
||
|
},
|
||
|
name = "simplepackage", -- Package ID (equal to
|
||
|
}, package_name)
|
||
|
} (or ...)
|