-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmoonkind-0.1.3-1.rockspec
67 lines (61 loc) · 1.76 KB
/
moonkind-0.1.3-1.rockspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
-- moonkind-0.1.1.rockspec
local package_name = "moonkind"
local package_version = "0.1.3"
local rockspec_revision = "1"
local github_account_name = "VicCAlq"
local github_repo_name = package_name
local git_checkout = package_version == "main" or package_version
rockspec_format = "3.0"
package = package_name
version = package_version .. "-" .. rockspec_revision
source = {
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git",
branch = git_checkout,
}
supported_platforms = {
"unix",
"bsd",
"solaris",
"netbsd",
"openbsd",
"freebsd",
"dragonfly",
"linux",
"macosx",
"cygwin",
"msys",
"haiku",
"windows",
"win32",
"mingw",
"mingw32",
"msys2_mingw_w64",
}
description = {
summary = "Simple type assertions for your Lua projeccts",
homepage = "https://" .. github_account_name .. ".github.io/" .. github_repo_name,
issues_url = "https://" .. github_account_name .. ".github.io/" .. github_repo_name .. "/issues",
license = "MIT",
maintainer = "Victor Cavalcanti <[email protected]>",
labels = { "typing", "type-system", "moonkind", "util" },
detailed = [[
Moonkind allows you to easily assert the types of your variables, and doesn't do implicit conversions.
You can either use it to throw errors in case of mismatched variables, or get the errors as values
to decide how to handle them.
]],
}
dependencies = {
"lua >= 5.1, < 5.5",
}
build_dependencies = {}
test_dependencies = {}
build = {
type = "builtin",
modules = {
["moonkind.checks"] = "lua/moonkind/core/checks.lua",
["moonkind.throws"] = "lua/moonkind/core/throws.lua",
["moonkind"] = "lua/moonkind/init.lua",
["moonkind.utils.constants"] = "lua/moonkind/utils/constants.lua",
},
copy_directories = { "doc" },
}