File tree Expand file tree Collapse file tree 4 files changed +42
-3
lines changed Expand file tree Collapse file tree 4 files changed +42
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Usage: luacheck [-g] [-r] [-u] [-a] [--globals [<global>] ...] [-c]
37
37
[-e] [--ignore <var> [<var>] ...] [--only <var> [<var>] ...]
38
38
[-l <limit>] [-q] [-h] <file> [<file>] ...
39
39
40
- luacheck 0.3, a simple static analyzer for Lua.
40
+ luacheck 0.3.0 , a simple static analyzer for Lua.
41
41
42
42
Arguments:
43
43
files List of files to check.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ local function toset(array)
17
17
end
18
18
19
19
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. "
21
21
22
22
parser :argument " files"
23
23
:description " List of files to check. "
Original file line number Diff line number Diff line change 65
65
[-e] [--ignore <var> [<var>] ...] [--only <var> [<var>] ...]
66
66
[-l <limit>] [-q] [-h] <file> [<file>] ...
67
67
68
- luacheck 0.3, a simple static analyzer for Lua.
68
+ luacheck 0.3.0 , a simple static analyzer for Lua.
69
69
70
70
Arguments:
71
71
files List of files to check.
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments