forked from lunarmodules/say
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsay-scm-1.rockspec
44 lines (37 loc) · 952 Bytes
/
say-scm-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
package = "say"
local rock_version = "scm"
local rock_release = "1"
local namespace = "lunarmodules"
local repository = package
rockspec_format = "3.0"
version = ("%s-%s"):format(rock_version, rock_release)
source = {
url = ("git+https://github.com/%s/%s.git"):format(namespace, repository),
branch = rock_version == "scm" and "master" or nil,
tag = rock_version ~= "scm" and "v"..rock_version or nil,
}
description = {
summary = "Lua string hashing/indexing library",
detailed = [[
Useful for internationalization.
]],
license = "MIT",
homepage = ("https://%s.github.io/%s"):format(namespace, repository),
issues_url = ("https://github.com/%s/%s/issues"):format(namespace, repository),
maintainer = "Caleb Maclennan <caleb@alerque.com>",
}
dependencies = {
"lua >= 5.1",
}
test_dependencies = {
"busted",
}
test = {
type = "busted",
}
build = {
type = "builtin",
modules = {
say = "src/say/init.lua"
}
}