-
Notifications
You must be signed in to change notification settings - Fork 77
/
luassert-scm-1.rockspec
73 lines (65 loc) · 2.43 KB
/
luassert-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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
local package_name = "luassert"
local package_version = "scm"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name
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"
}
if package_version == "scm" then source.branch = "master" else source.tag = "v" .. package_version end
description = {
summary = "Lua assertions extension",
detailed = [[
Adds a framework that allows registering new assertions
without compromising builtin assertion functionality.
]],
homepage = "https://lunarmodules.github.io/busted/",
license = "MIT <http://opensource.org/licenses/MIT>"
}
dependencies = {
"lua >= 5.1",
"say >= 1.4.0-1"
}
test_dependencies = {
"busted",
}
test = {
type = "busted",
}
build = {
type = "builtin",
modules = {
["luassert.compatibility"] = "src/compatibility.lua",
["luassert.state"] = "src/state.lua",
["luassert.util"] = "src/util.lua",
["luassert.spy"] = "src/spy.lua",
["luassert.stub"] = "src/stub.lua",
["luassert.assert"] = "src/assert.lua",
["luassert.modifiers"] = "src/modifiers.lua",
["luassert.assertions"] = "src/assertions.lua",
["luassert.array"] = "src/array.lua",
["luassert.namespaces"] = "src/namespaces.lua",
["luassert.match"] = "src/match.lua",
["luassert.mock"] = "src/mock.lua",
["luassert.init"] = "src/init.lua",
["luassert.matchers.init"] = "src/matchers/init.lua",
["luassert.matchers.core"] = "src/matchers/core.lua",
["luassert.matchers.composite"] = "src/matchers/composite.lua",
["luassert.formatters.init"] = "src/formatters/init.lua",
["luassert.formatters.binarystring"] = "src/formatters/binarystring.lua",
["luassert.languages.ar"] = "src/languages/ar.lua",
["luassert.languages.de"] = "src/languages/de.lua",
["luassert.languages.en"] = "src/languages/en.lua",
["luassert.languages.fr"] = "src/languages/fr.lua",
["luassert.languages.is"] = "src/languages/is.lua",
["luassert.languages.ja"] = "src/languages/ja.lua",
["luassert.languages.ko"] = "src/languages/ko.lua",
["luassert.languages.nl"] = "src/languages/nl.lua",
["luassert.languages.ru"] = "src/languages/ru.lua",
["luassert.languages.ua"] = "src/languages/ua.lua",
["luassert.languages.zh"] = "src/languages/zh.lua",
}
}