2011-05-29 04:27:31 +00:00
|
|
|
package = "moonscript"
|
|
|
|
version = "dev-1"
|
|
|
|
|
|
|
|
source = {
|
|
|
|
url = "git://github.com/leafo/moonscript.git"
|
|
|
|
}
|
|
|
|
|
|
|
|
description = {
|
|
|
|
summary = "A little language that compiles to Lua",
|
|
|
|
homepage = "http://leafo.net/moonscript",
|
|
|
|
maintainer = "Leaf Corcoran <leafot@gmail.com>",
|
|
|
|
license = "MIT"
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies = {
|
|
|
|
"lua >= 5.1",
|
|
|
|
"lpeg >= 0.10",
|
2011-05-29 16:33:25 +00:00
|
|
|
"alt-getopt >= 0.7",
|
|
|
|
"luafilesystem >= 1.5"
|
2011-05-29 04:27:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build = {
|
|
|
|
type = "builtin",
|
|
|
|
modules = {
|
|
|
|
["moonscript.compile"] = "moonscript/compile.lua",
|
|
|
|
["moonscript.parse"] = "moonscript/parse.lua",
|
|
|
|
["moonscript.dump"] = "moonscript/dump.lua",
|
|
|
|
["moonscript.data"] = "moonscript/data.lua",
|
|
|
|
["moonscript.util"] = "moonscript/util.lua",
|
|
|
|
},
|
|
|
|
install = {
|
2011-05-29 16:33:25 +00:00
|
|
|
bin = { "moon", "moonc" }
|
2011-05-29 04:27:31 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|