diff options
-rw-r--r-- | src/luarocks/core/types/build.d.tl | 29 |
1 files changed, 24 insertions, 5 deletions
diff --git a/src/luarocks/core/types/build.d.tl b/src/luarocks/core/types/build.d.tl index 82d3dba9..0591aa33 100644 --- a/src/luarocks/core/types/build.d.tl +++ b/src/luarocks/core/types/build.d.tl | |||
@@ -2,14 +2,33 @@ local type i = require("luarocks.core.types.installs") | |||
2 | local type Installs = i.Installs | 2 | local type Installs = i.Installs |
3 | 3 | ||
4 | local record build | 4 | local record build |
5 | record Build | 5 | |
6 | interface Build | ||
6 | type: string | 7 | type: string |
7 | modules: {string: {string: string | {string}}} | ||
8 | copy_directories: string | ||
9 | install: Installs | 8 | install: Installs |
10 | extra_files: {string : string} | 9 | copy_directories: string |
11 | patches: {string : string} | 10 | patches: {string : string} |
12 | macosx_deployment_target: string | 11 | end |
12 | |||
13 | record BuiltinBuild | ||
14 | is Build | ||
15 | where self.type == "builtin" | ||
16 | |||
17 | record Module | ||
18 | sources: string | {string} | ||
19 | libraries: {string} | ||
20 | defines: {string} | ||
21 | incdirs: {string} | ||
22 | libdirs: {string} | ||
23 | end | ||
24 | |||
25 | modules: {string: (string | {string} | Module)} | ||
26 | end | ||
27 | |||
28 | record MakeBuild | ||
29 | is Build where self.type == "make" | ||
30 | |||
31 | makefile: string --! | ||
13 | end | 32 | end |
14 | end | 33 | end |
15 | 34 | ||