-
Notifications
You must be signed in to change notification settings - Fork 4
/
specl-git-1.rockspec
65 lines (56 loc) · 1.94 KB
/
specl-git-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
local _MODREV, _SPECREV = 'git', '-1'
package = 'specl'
version = _MODREV .. _SPECREV
description = {
summary = 'Behaviour Driven Development for Lua',
detailed = [[
Develop and run BDD specs written in Lua for RSpec style workflow.
]],
homepage = 'http://gvvaughan.github.io/specl',
license = 'GPLv3+',
}
source = {
url = 'http://github.com/gvvaughan/specl/archive/v' .. _MODREV .. '.zip',
dir = 'specl-' .. _MODREV,
}
dependencies = {
'luamacro >= 2.5.1',
'lua >= 5.1, < 5.5',
'lyaml >= 5',
'optparse',
'stdlib >= 41.2.0, < 42.0.0',
}
build = {
type = 'builtin',
install = {
bin = {
specl = 'bin/specl',
}
},
modules = {
['specl.badargs'] = 'lib/specl/badargs.lua',
['specl.color'] = 'lib/specl/color.lua',
['specl.compat'] = 'lib/specl/compat.lua',
['specl.expect'] = 'lib/specl/expect.lua',
['specl.formatter.progress'] = 'lib/specl/formatter/progress.lua',
['specl.formatter.report'] = 'lib/specl/formatter/report.lua',
['specl.formatter.tap'] = 'lib/specl/formatter/tap.lua',
['specl.inprocess'] = 'lib/specl/inprocess.lua',
['specl.loader'] = 'lib/specl/loader.lua',
['specl.main'] = 'lib/specl/main.lua',
['specl.matchers'] = 'lib/specl/matchers.lua',
['specl.runner'] = 'lib/specl/runner.lua',
['specl.sandbox'] = 'lib/specl/sandbox.lua',
['specl.shell'] = 'lib/specl/shell.lua',
['specl.std'] = 'lib/specl/std.lua',
['specl.util'] = 'lib/specl/util.lua',
['specl.version'] = 'lib/specl/version.lua',
}
}
if _MODREV == 'git' then
dependencies[#dependencies + 1] = 'ldoc'
source = {
url = 'git://github.com/gvvaughan/specl.git',
}
build.modules['specl.version'] = 'lib/specl/version-git.lua'
end