@@ -14,7 +14,8 @@ Package Descriptions
15A package description includes the following:
15A package description includes the following:
17−+ A header, consisting of the keyword package followed by the package name.
17++ A header, consisting of the keyword package followed by the package
18+ name. Package names can be any valid Idris identifier.
18+ Fields describing package contents, ``<field> = <value>``
19+ Fields describing package contents, ``<field> = <value>``
20At least one field must be the modules field, where the value is a
21At least one field must be the modules field, where the value is a
@@ -39,7 +40,9 @@ Other common fields which may be present in an ``ipkg`` file are:
39 directory.
40 directory.
41+ ``executable = <output>``, which takes the name of the executable
42+ ``executable = <output>``, which takes the name of the executable
42− file to generate.
43+ file to generate. Executable names can be any valid Idris
44+ identifier. the iPKG format also takes a quoted version that accepts
44+ ``main = <module>``, which takes the name of the main module, and
47+ ``main = <module>``, which takes the name of the main module, and
45 must be present if the executable field is present.
48 must be present if the executable field is present.