Skip to content

Commit 7c5f09f

Browse files
committed
0.3.0 release
1 parent 33115a6 commit 7c5f09f

File tree

4 files changed

+42
-3
lines changed

4 files changed

+42
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Usage: luacheck [-g] [-r] [-u] [-a] [--globals [<global>] ...] [-c]
3737
[-e] [--ignore <var> [<var>] ...] [--only <var> [<var>] ...]
3838
[-l <limit>] [-q] [-h] <file> [<file>] ...
3939
40-
luacheck 0.3, a simple static analyzer for Lua.
40+
luacheck 0.3.0, a simple static analyzer for Lua.
4141
4242
Arguments:
4343
files List of files to check.

bin/luacheck.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ local function toset(array)
1717
end
1818

1919
local parser = argparse "luacheck"
20-
:description "luacheck 0.3, a simple static analyzer for Lua. "
20+
:description "luacheck 0.3.0, a simple static analyzer for Lua. "
2121

2222
parser:argument "files"
2323
:description "List of files to check. "

doc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ <h2>
6565
[-e] [--ignore &lt;var&gt; [&lt;var&gt;] ...] [--only &lt;var&gt; [&lt;var&gt;] ...]
6666
[-l &lt;limit&gt;] [-q] [-h] &lt;file&gt; [&lt;file&gt;] ...
6767

68-
luacheck 0.3, a simple static analyzer for Lua.
68+
luacheck 0.3.0, a simple static analyzer for Lua.
6969

7070
Arguments:
7171
files List of files to check.

rockspecs/luacheck-0.3.0-1.rockspec

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
package = "luacheck"
2+
version = "0.3.0-1"
3+
source = {
4+
url = "git://github.com/mpeterv/luacheck.git",
5+
tag = "0.3.0"
6+
}
7+
description = {
8+
summary = "A simple static analyzer",
9+
detailed = [[
10+
luacheck only looks for three things: non-standard global variables, unused local variables and redefinitions of existing local variables in the same scope.
11+
12+
luacheck provides a command-line interface as well as a small library which can be used from another Lua program.
13+
]],
14+
homepage = "https://github.com/mpeterv/luacheck",
15+
license = "MIT/X11"
16+
}
17+
dependencies = {
18+
"lua >= 5.1, < 5.3",
19+
"metalua-parser >= 0.7.3-2",
20+
"checks >= 1.0",
21+
"argparse >= 0.2.0",
22+
"ansicolors >= 1.0-1"
23+
}
24+
build = {
25+
type = "builtin",
26+
modules = {
27+
luacheck = "src/luacheck.lua",
28+
["luacheck.scan"] = "src/luacheck/scan.lua",
29+
["luacheck.check"] = "src/luacheck/check.lua",
30+
["luacheck.get_report"] = "src/luacheck/get_report.lua",
31+
["luacheck.format"] = "src/luacheck/format.lua"
32+
},
33+
install = {
34+
bin = {
35+
luacheck = "bin/luacheck.lua"
36+
}
37+
},
38+
copy_directories = {"spec", "doc"}
39+
}

0 commit comments

Comments
 (0)