Skip to content

Instantly share code, notes, and snippets.

@seasonedgeek
Created April 19, 2011 12:23
Show Gist options
  • Save seasonedgeek/927316 to your computer and use it in GitHub Desktop.
Save seasonedgeek/927316 to your computer and use it in GitHub Desktop.
A rockspec for LuaUnit
package = "luaunit"
version = "1.3-1"
source = {
url = "http://luaforge.net/frs/download.php/2689/luaunit-v13.tar.gz",
file = "luaunit-v13.tar.gz",
dir = "luaunit_v13"
}
description = {
summary = "Luaunit is a testing framework for Lua, in the spirit of Extreme Programming",
detailed = [[
Contents taken from the author's README.txt file:
Luaunit is derived from the initial work of Ryu Gwang (http://www.gpgstudy.com/gpgiki/LuaUnit)
but has evolved a lot from the original code as Philippe Fremy's <phil@freehackers.org>
understanding of Lua, progressed. Luaunit should work on all platforms supported by lua.
It was tested on Windows XP and Gentoo Linux. Luaunit is used extensively in yzis
(www.yzis.org), a vi clone, in order to test the editor's lua binding capabilities.
]],
license = "MIT/X11",
homepage = "http://phil.freehackers.org/programs/luaunit/"
}
dependencies = {
"lua >= 5.1"
}
build = {
type = "command",
install = {
lua = { "luaunit.lua", "test_luaunit.lua", "use_luaunit.lua", "README.txt", "LICENSE.txt" }
}
}
@seasonedgeek
Copy link
Author

I'm using LuaRocks a management system for Lua modules, with the intention of centralizing the whereabouts of Lua classes, libraries and modules on my machine.

I recently read about LuaUnit by Philippe Fremy, and decided to download the distribution. I noticed that it didn’t include a rockspec, so I created one: luaunit-1.3-1.rockspec.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment