diff --git a/README.md b/README.md index 4158dd85..81156504 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Documentation is available [online](http://luacheck.readthedocs.org). If Luachec ## Development -Luacheck is currently in development. The latest released version is 0.7.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable. +Luacheck is currently in development. The latest released version is 0.7.1. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable. Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questions. Any pull requests are welcome, too. diff --git a/bin/luacheck.lua b/bin/luacheck.lua index 0a9697fa..2a7e629d 100644 --- a/bin/luacheck.lua +++ b/bin/luacheck.lua @@ -1,5 +1,5 @@ #!/bin/env lua -local version = "0.7.0" +local version = "0.7.1" local function fatal(msg) io.stderr:write("Fatal error: "..msg.."\n") diff --git a/rockspecs/luacheck-0.7.1-1.rockspec b/rockspecs/luacheck-0.7.1-1.rockspec new file mode 100644 index 00000000..5de0eed7 --- /dev/null +++ b/rockspecs/luacheck-0.7.1-1.rockspec @@ -0,0 +1,42 @@ +package = "luacheck" +version = "0.7.1-1" +source = { + url = "git://github.com/mpeterv/luacheck.git", + tag = "0.7.1" +} +description = { + summary = "A simple static analyzer for Lua", + detailed = [[ +Luacheck is a tool for linting and static analysis of Lua code. It is able to spot usage of undefined global variables, unused local variables and a few other typical problems within Lua programs. +]], + homepage = "https://github.com/mpeterv/luacheck", + license = "MIT/X11" +} +dependencies = { + "lua >= 5.1, < 5.4", + "argparse >= 0.3.0", + "ansicolors >= 1.0-1", + "luafilesystem >= 1.6.2" +} +build = { + type = "builtin", + modules = { + luacheck = "src/luacheck.lua", + ["luacheck.scan"] = "src/luacheck/scan.lua", + ["luacheck.check"] = "src/luacheck/check.lua", + ["luacheck.parser"] = "src/luacheck/parser.lua", + ["luacheck.lexer"] = "src/luacheck/lexer.lua", + ["luacheck.filter"] = "src/luacheck/filter.lua", + ["luacheck.options"] = "src/luacheck/options.lua", + ["luacheck.stds"] = "src/luacheck/stds.lua", + ["luacheck.expand_rockspec"] = "src/luacheck/expand_rockspec.lua", + ["luacheck.utils"] = "src/luacheck/utils.lua", + ["luacheck.format"] = "src/luacheck/format.lua" + }, + install = { + bin = { + luacheck = "bin/luacheck.lua" + } + }, + copy_directories = {"spec", "doc"} +}