aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV1K1NGbg <victor@ilchev.com>2024-08-14 19:36:18 +0300
committerV1K1NGbg <victor@ilchev.com>2024-08-14 19:36:18 +0300
commit5345cb12dedf5b81013a77cf35d2aecb18e16e26 (patch)
tree1cd280d2a6f3aa312d1b668f9170a42b9b6a70f3
parentbf7deae888904a7f9c35024217fe356c44cf000e (diff)
downloadluarocks-5345cb12dedf5b81013a77cf35d2aecb18e16e26.tar.gz
luarocks-5345cb12dedf5b81013a77cf35d2aecb18e16e26.tar.bz2
luarocks-5345cb12dedf5b81013a77cf35d2aecb18e16e26.zip
build type start
-rw-r--r--src/luarocks/core/types/build.d.tl29
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")
2local type Installs = i.Installs 2local type Installs = i.Installs
3 3
4local record build 4local 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
14end 33end
15 34