| 1 |
package = "Cosmo" |
| 2 |
|
| 3 |
version = "current-1" |
| 4 |
|
| 5 |
description = { |
| 6 |
summary = "Safe templates for Lua", |
| 7 |
detailed = [[ |
| 8 |
Cosmo is a "safe templates" engine. It allows you to fill nested templates, |
| 9 |
providing many of the advantages of Turing-complete template engines, |
| 10 |
without without the downside of allowing arbitrary code in the templates. |
| 11 |
]], |
| 12 |
license = "MIT/X11", |
| 13 |
homepage = "http://cosmo.luaforge.net" |
| 14 |
} |
| 15 |
|
| 16 |
dependencies = { "lpeg >= 0.8.1" } |
| 17 |
|
| 18 |
source = { |
| 19 |
url = "git://github.com/mascarenhas/cosmo.git" |
| 20 |
} |
| 21 |
|
| 22 |
build = { |
| 23 |
type = "module", |
| 24 |
modules = { |
| 25 |
cosmo = "src/cosmo.lua", |
| 26 |
["cosmo.fill"] = "src/cosmo/fill.lua", |
| 27 |
["cosmo.grammar"] = "src/cosmo/grammar.lua", |
| 28 |
}, |
| 29 |
copy_directories = { "doc", "samples", "tests" } |
| 30 |
} |