forked from Fizzadar/Luapress
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathluapress-4.1.2-0.rockspec
50 lines (45 loc) · 1.16 KB
/
luapress-4.1.2-0.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
package = 'Luapress'
version = '4.1.2-0'
source = {
url = 'git://github.com/Fizzadar/Luapress.git',
tag = 'v4.1.2',
}
description = {
summary = 'Luapress builds static sites from markdown files',
homepage = 'https://github.com/Fizzadar/Luapress',
license = 'MIT',
}
dependencies = {
-- Lua itself!
'lua >= 5.1',
-- Packages
'ansicolors',
'discount',
'luafilesystem',
'lustache',
'etlua',
}
build = {
type = 'builtin',
modules = {
['luapress'] = 'luapress/luapress.lua',
},
install = {
lua = {
['luapress.config'] = 'luapress/config.lua',
['luapress.template'] = 'luapress/template.lua',
['luapress.util'] = 'luapress/util.lua',
['luapress.default_config'] = 'luapress/default_config.lua',
['luapress.lib.table_to_lua'] = 'luapress/lib/table_to_lua.lua',
['luapress.lib.watch_directory'] = 'luapress/lib/watch_directory.lua',
['luapress.lib.cli'] = 'luapress/lib/cli.lua',
},
bin = {
'bin/luapress',
}
},
copy_directories = {
'plugins',
'template',
},
}