Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstd.prototype-git-1.rockspec
More file actions
Latest commit
50 lines (44 loc) · 1.38 KB
/
Copy pathstd.prototype-git-1.rockspec
File metadata and controls
50 lines (44 loc) · 1.38 KB
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
local_MODREV, _SPECREV='git', '-1'
package='std.prototype'
version=_MODREV.._SPECREV
description= {
summary='Prototype Oriented Programming with Lua',
detailed=[[
A straight forward prototype-based object system, and a selection of
useful objects build on it.
]],
homepage='http://lua-stdlib.github.io/prototype',
license='MIT/X11',
}
source= (function(gitp)
ifgitpthen
return {
url='git://github.com/lua-stdlib/prototype.git',
}
else
return {
url='http://github.com/lua-stdlib/prototype/archive' .._MODREV..'.zip',
dir='prototype-' .._MODREV,
}
end
end)(_MODREV=='git')
dependencies= {
'lua >= 5.1, < 5.6',
'std.normalize >= 1.0.3',
}
if_MODREV=='git' then
dependencies[#dependencies+1] ='ldoc'
end
build= {
type='builtin',
modules= {
['std.prototype'] ='lib/std/prototype/init.lua',
['std.prototype._base'] ='lib/std/prototype/_base.lua',
['std.prototype.container'] ='lib/std/prototype/container.lua',
['std.prototype.object'] ='lib/std/prototype/object.lua',
['std.prototype.set'] ='lib/std/prototype/set.lua',
['std.prototype.strbuf'] ='lib/std/prototype/strbuf.lua',
['std.prototype.trie'] ='lib/std/prototype/trie.lua',
['std.prototype.version'] ='lib/std/prototype/version.lua',
},
}