diff options
author | V1K1NGbg <victor@ilchev.com> | 2024-08-14 19:36:18 +0300 |
---|---|---|
committer | V1K1NGbg <victor@ilchev.com> | 2024-08-14 19:36:18 +0300 |
commit | 5345cb12dedf5b81013a77cf35d2aecb18e16e26 (patch) | |
tree | 1cd280d2a6f3aa312d1b668f9170a42b9b6a70f3 | |
parent | bf7deae888904a7f9c35024217fe356c44cf000e (diff) | |
download | luarocks-5345cb12dedf5b81013a77cf35d2aecb18e16e26.tar.gz luarocks-5345cb12dedf5b81013a77cf35d2aecb18e16e26.tar.bz2 luarocks-5345cb12dedf5b81013a77cf35d2aecb18e16e26.zip |
build type start
-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 | ||