Skip to content
Browse files

a rockspec for each variant

  • Loading branch information...
1 parent 247fa06 commit fa086ff237875753d8b26f98728e489b1aca2d1d @fperrad committed
Showing with 38 additions and 3 deletions.
  1. +2 −1 Makefile
  2. +0 −2 rockspec.in
  3. +36 −0 rockspec.lpeg.in
View
3 Makefile
@@ -92,7 +92,8 @@ $(TARBALL): MANIFEST
dist: $(TARBALL)
rockspec: $(TARBALL)
- perl -e '$(rockspec_pl)' rockspec.in > rockspec/lua-codegen-$(VERSION)-$(REV).rockspec
+ perl -e '$(rockspec_pl)' rockspec.in > rockspec/lua-codegen-$(VERSION)-$(REV).rockspec
+ perl -e '$(rockspec_pl)' rockspec.lpeg.in > rockspec/lua-codegen-lpeg-$(VERSION)-$(REV).rockspec
install-rock: clean dist rockspec
perl -pe 's{http://cloud.github.com/downloads/fperrad/lua-CodeGen/}{};' \
View
2 rockspec.in
@@ -24,14 +24,12 @@ description = {
}
dependencies = {
'lua >= 5.1',
- 'lua-testmore >= 0.2.3',
}
build = {
type = 'builtin',
modules = {
['CodeGen'] = 'src/CodeGen.lua',
['CodeGen.Graph'] = 'src/CodeGen/Graph.lua',
- ['CodeGen.lpeg'] = 'src.lpeg/CodeGen.lua',
},
copy_directories = { 'doc', 'test' },
}
View
36 rockspec.lpeg.in
@@ -0,0 +1,36 @@
+package = 'lua-CodeGen-LPeg'
+version = '@version@-@rev@'
+source = {
+ url = 'http://cloud.github.com/downloads/fperrad/lua-CodeGen/lua-codegen-@version@.tar.gz',
+ md5 = '@md5@',
+ dir = 'lua-CodeGen-@version@',
+}
+description = {
+ summary = "a template engine",
+ detailed = [[
+ lua-CodeGen is a "safe" template engine.
+
+ lua-CodeGen enforces a strict Model-View separation.
+
+ lua-CodeGen allows to split template in small chunk,
+ and encourages the reuse of them by inheritance.
+
+ lua-CodeGen is not dedicated to HTML,
+ it could generate any kind of textual code.
+ ]],
+ homepage = 'http://fperrad.github.com/lua-CodeGen',
+ maintainer = 'Francois Perrad',
+ license = 'MIT/X11'
+}
+dependencies = {
+ 'lua >= 5.1',
+ 'lpeg >= 0.10',
+}
+build = {
+ type = 'builtin',
+ modules = {
+ ['CodeGen'] = 'src.lpeg/CodeGen.lua',
+ ['CodeGen.Graph'] = 'src/CodeGen/Graph.lua',
+ },
+ copy_directories = { 'doc', 'test' },
+}

0 comments on commit fa086ff

Please sign in to comment.
Something went wrong with that request. Please try again.