diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/luarocks/core/types/build.d.tl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/luarocks/core/types/build.d.tl b/src/luarocks/core/types/build.d.tl new file mode 100644 index 00000000..35b42005 --- /dev/null +++ b/src/luarocks/core/types/build.d.tl | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | local record build | ||
| 2 | |||
| 3 | interface Build | ||
| 4 | record Install | ||
| 5 | lua: {(string|integer): string} | ||
| 6 | lib: {(string|integer): string} | ||
| 7 | conf: {(string|integer): string} | ||
| 8 | bin: {(string|integer): string} | ||
| 9 | end | ||
| 10 | |||
| 11 | type: string | ||
| 12 | install: Install | ||
| 13 | copy_directories: {string} | ||
| 14 | patches: {string : string} | ||
| 15 | extra_files: {string : string} | ||
| 16 | macosx_deployment_target: string | ||
| 17 | end | ||
| 18 | |||
| 19 | record BuiltinBuild | ||
| 20 | is Build | ||
| 21 | where self.type == "builtin" | ||
| 22 | |||
| 23 | record Module | ||
| 24 | is {string} | ||
| 25 | sources: string | {string} | ||
| 26 | libraries: string | {string} | ||
| 27 | defines: {string} | ||
| 28 | incdirs: {string} | ||
| 29 | libdirs: {string} | ||
| 30 | end | ||
| 31 | |||
| 32 | modules: {string: (string | Module)} | ||
| 33 | end | ||
| 34 | end | ||
| 35 | |||
| 36 | return build \ No newline at end of file | ||
