-
Notifications
You must be signed in to change notification settings - Fork 188
/
busted-scm-1.rockspec
118 lines (106 loc) · 5.11 KB
/
busted-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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
local package_name = "busted"
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 = 'Elegant Lua unit testing',
detailed = [[
An elegant, extensible, testing framework.
Ships with a large amount of useful asserts,
plus the ability to write your own. Output
in pretty or plain terminal format, JSON,
or TAP for CI integration. Great for TDD
and unit, integration, and functional tests.
]],
homepage = "https://lunarmodules.github.io/busted/",
license = 'MIT <http://opensource.org/licenses/MIT>'
}
dependencies = {
'lua >= 5.1',
'lua_cliargs >= 3.0',
'luasystem >= 0.2.0',
'dkjson >= 2.1.0',
'say >= 1.4-1',
'luassert >= 1.9.0-1',
'lua-term >= 0.1',
'penlight >= 1.3.2',
'mediator_lua >= 1.1.1',
}
test_dependencies = {
"busted",
}
test = {
type = "busted",
}
build = {
type = 'builtin',
modules = {
['busted.core'] = 'busted/core.lua',
['busted.context'] = 'busted/context.lua',
['busted.environment'] = 'busted/environment.lua',
['busted.compatibility'] = 'busted/compatibility.lua',
['busted.options'] = 'busted/options.lua',
['busted.done'] = 'busted/done.lua',
['busted.runner'] = 'busted/runner.lua',
['busted.status'] = 'busted/status.lua',
['busted.utils'] = 'busted/utils.lua',
['busted.block'] = 'busted/block.lua',
['busted.execute'] = 'busted/execute.lua',
['busted.init'] = 'busted/init.lua',
['busted.luajit'] = 'busted/luajit.lua',
['busted.fixtures'] = 'busted/fixtures.lua',
['busted.modules.configuration_loader'] = 'busted/modules/configuration_loader.lua',
['busted.modules.luacov'] = 'busted/modules/luacov.lua',
['busted.modules.standalone_loader'] = 'busted/modules/standalone_loader.lua',
['busted.modules.test_file_loader'] = 'busted/modules/test_file_loader.lua',
['busted.modules.output_handler_loader'] = 'busted/modules/output_handler_loader.lua',
['busted.modules.helper_loader'] = 'busted/modules/helper_loader.lua',
['busted.modules.filter_loader'] = 'busted/modules/filter_loader.lua',
['busted.modules.cli'] = 'busted/modules/cli.lua',
['busted.modules.files.lua'] = 'busted/modules/files/lua.lua',
['busted.modules.files.moonscript'] = 'busted/modules/files/moonscript.lua',
['busted.modules.files.terra'] = 'busted/modules/files/terra.lua',
['busted.modules.files.fennel'] = 'busted/modules/files/fennel.lua',
['busted.outputHandlers.base'] = 'busted/outputHandlers/base.lua',
['busted.outputHandlers.utfTerminal'] = 'busted/outputHandlers/utfTerminal.lua',
['busted.outputHandlers.plainTerminal'] = 'busted/outputHandlers/plainTerminal.lua',
['busted.outputHandlers.TAP'] = 'busted/outputHandlers/TAP.lua',
['busted.outputHandlers.json'] = 'busted/outputHandlers/json.lua',
['busted.outputHandlers.junit'] = 'busted/outputHandlers/junit.lua',
['busted.outputHandlers.gtest'] = 'busted/outputHandlers/gtest.lua',
['busted.outputHandlers.sound'] = 'busted/outputHandlers/sound.lua',
['busted.languages.ar'] = 'busted/languages/ar.lua',
['busted.languages.de'] = 'busted/languages/de.lua',
['busted.languages.en'] = 'busted/languages/en.lua',
['busted.languages.es'] = 'busted/languages/es.lua',
['busted.languages.fr'] = 'busted/languages/fr.lua',
['busted.languages.is'] = 'busted/languages/is.lua',
['busted.languages.it'] = 'busted/languages/it.lua',
['busted.languages.ja'] = 'busted/languages/ja.lua',
['busted.languages.ko'] = 'busted/languages/ko.lua',
['busted.languages.nl'] = 'busted/languages/nl.lua',
['busted.languages.pt-BR'] = 'busted/languages/pt-BR.lua',
['busted.languages.ro'] = 'busted/languages/ro.lua',
['busted.languages.ru'] = 'busted/languages/ru.lua',
['busted.languages.th'] = 'busted/languages/th.lua',
['busted.languages.ua'] = 'busted/languages/ua.lua',
['busted.languages.zh'] = 'busted/languages/zh.lua',
},
install = {
bin = {
['busted'] = 'bin/busted'
}
}
}