Skip to content

Commit

Permalink
0.3.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Apr 25, 2014
1 parent 33115a6 commit 7c5f09f
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Usage: luacheck [-g] [-r] [-u] [-a] [--globals [<global>] ...] [-c]
[-e] [--ignore <var> [<var>] ...] [--only <var> [<var>] ...]
[-l <limit>] [-q] [-h] <file> [<file>] ...
luacheck 0.3, a simple static analyzer for Lua.
luacheck 0.3.0, a simple static analyzer for Lua.
Arguments:
files List of files to check.
Expand Down
2 changes: 1 addition & 1 deletion bin/luacheck.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ local function toset(array)
end

local parser = argparse "luacheck"
:description "luacheck 0.3, a simple static analyzer for Lua. "
:description "luacheck 0.3.0, a simple static analyzer for Lua. "

parser:argument "files"
:description "List of files to check. "
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2>
[-e] [--ignore &lt;var&gt; [&lt;var&gt;] ...] [--only &lt;var&gt; [&lt;var&gt;] ...]
[-l &lt;limit&gt;] [-q] [-h] &lt;file&gt; [&lt;file&gt;] ...

luacheck 0.3, a simple static analyzer for Lua.
luacheck 0.3.0, a simple static analyzer for Lua.

Arguments:
files List of files to check.
Expand Down
39 changes: 39 additions & 0 deletions rockspecs/luacheck-0.3.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
package = "luacheck"
version = "0.3.0-1"
source = {
url = "git://github.com/mpeterv/luacheck.git",
tag = "0.3.0"
}
description = {
summary = "A simple static analyzer",
detailed = [[
luacheck only looks for three things: non-standard global variables, unused local variables and redefinitions of existing local variables in the same scope.
luacheck provides a command-line interface as well as a small library which can be used from another Lua program.
]],
homepage = "https://github.com/mpeterv/luacheck",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1, < 5.3",
"metalua-parser >= 0.7.3-2",
"checks >= 1.0",
"argparse >= 0.2.0",
"ansicolors >= 1.0-1"
}
build = {
type = "builtin",
modules = {
luacheck = "src/luacheck.lua",
["luacheck.scan"] = "src/luacheck/scan.lua",
["luacheck.check"] = "src/luacheck/check.lua",
["luacheck.get_report"] = "src/luacheck/get_report.lua",
["luacheck.format"] = "src/luacheck/format.lua"
},
install = {
bin = {
luacheck = "bin/luacheck.lua"
}
},
copy_directories = {"spec", "doc"}
}

0 comments on commit 7c5f09f

Please sign in to comment.