Skip to content

Instantly share code, notes, and snippets.

@starius
Created May 2, 2015 18:20
Show Gist options
  • Save starius/719b194bb34ce612458c to your computer and use it in GitHub Desktop.
Save starius/719b194bb34ce612458c to your computer and use it in GitHub Desktop.
mediator.lua's rockspec which builds from my fork
package = "mediator_lua"
version = "1.1.1-0"
source = {
url = "git://github.com/starius/mediator_lua.git",
}
description = {
summary = "Event handling through channels",
detailed = [[
mediator_lua allows you to subscribe and publish to a central object so
you can decouple function calls in your application. It's as simple as
mediator:subscribe("channel", function). Supports namespacing, predicates,
and more.
]],
homepage = "http://olivinelabs.com/mediator_lua/",
license = "MIT <http://opensource.org/licenses/MIT>"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "builtin",
modules = {
mediator = "src/mediator.lua"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment