luarock support

This commit is contained in:
insideone 2018-01-28 16:26:55 +03:00
parent e84abe7b56
commit 447f5e421f
3 changed files with 25 additions and 1 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
# luarocks build files
*.src.rock

22
lovebird-0.4-4.rockspec Normal file
View File

@ -0,0 +1,22 @@
package = "lovebird"
version = "0.4-4"
source = {
url = "git://github.com/rxi/lovebird",
tag = "0.4.4"
}
description = {
summary = "A browser-based debug console for LÖVE",
detailed = [[
A browser-based debug console for LÖVE
]],
homepage = "https://github.com/rxi/lovebird"
}
dependencies = {
"lua >= 5.0"
}
build = {
type = "builtin",
modules = {
lovebird = "lovebird.lua"
}
}

View File

@ -9,7 +9,7 @@
local socket = require "socket"
local lovebird = { _version = "0.4.3" }
local lovebird = { _version = "0.4.4" }
lovebird.loadstring = loadstring or load
lovebird.inited = false