Skip to content

Commit 4070086

Browse files
committed
0.10.0 release
1 parent 24dba62 commit 4070086

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed

bin/luacheck.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ local function main()
3232
local function get_args()
3333
local parser = argparse "luacheck"
3434
:description ("luacheck " .. luacheck._VERSION .. ", a simple static analyzer for Lua.")
35+
:epilog [[
36+
Links:
37+
38+
Luacheck on GitHub: https://github.com/mpeterv/luacheck
39+
Luacheck documentation: http://luacheck.readthedocs.org]]
3540

3641
parser:argument "files"
3742
:description (fs.has_lfs and [[List of files, directories and rockspecs to check.

rockspecs/luacheck-0.10.0-1.rockspec

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
package = "luacheck"
2+
version = "0.10.0-1"
3+
source = {
4+
url = "git://github.com/mpeterv/luacheck",
5+
tag = "0.10.0"
6+
}
7+
description = {
8+
summary = "A static analyzer and a linter for Lua",
9+
detailed = [[
10+
Luacheck is a command-line 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.
11+
]],
12+
homepage = "https://github.com/mpeterv/luacheck",
13+
license = "MIT <http://opensource.org/licenses/MIT>"
14+
}
15+
dependencies = {
16+
"lua >= 5.1, < 5.4",
17+
"luafilesystem >= 1.6.3"
18+
}
19+
build = {
20+
type = "builtin",
21+
modules = {
22+
luacheck = "src/luacheck/init.lua",
23+
["luacheck.linearize"] = "src/luacheck/linearize.lua",
24+
["luacheck.analyze"] = "src/luacheck/analyze.lua",
25+
["luacheck.reachability"] = "src/luacheck/reachability.lua",
26+
["luacheck.core_utils"] = "src/luacheck/core_utils.lua",
27+
["luacheck.check"] = "src/luacheck/check.lua",
28+
["luacheck.parser"] = "src/luacheck/parser.lua",
29+
["luacheck.lexer"] = "src/luacheck/lexer.lua",
30+
["luacheck.filter"] = "src/luacheck/filter.lua",
31+
["luacheck.options"] = "src/luacheck/options.lua",
32+
["luacheck.inline_options"] = "src/luacheck/inline_options.lua",
33+
["luacheck.stds"] = "src/luacheck/stds.lua",
34+
["luacheck.expand_rockspec"] = "src/luacheck/expand_rockspec.lua",
35+
["luacheck.multithreading"] = "src/luacheck/multithreading.lua",
36+
["luacheck.cache"] = "src/luacheck/cache.lua",
37+
["luacheck.format"] = "src/luacheck/format.lua",
38+
["luacheck.version"] = "src/luacheck/version.lua",
39+
["luacheck.fs"] = "src/luacheck/fs.lua",
40+
["luacheck.utils"] = "src/luacheck/utils.lua",
41+
["luacheck.argparse"] = "src/luacheck/argparse.lua"
42+
},
43+
install = {
44+
bin = {
45+
luacheck = "bin/luacheck.lua"
46+
}
47+
},
48+
copy_directories = {"spec", "doc"}
49+
}

src/luacheck/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ local options = require "luacheck.options"
44
local utils = require "luacheck.utils"
55

66
local luacheck = {
7-
_VERSION = "0.9.0"
7+
_VERSION = "0.10.0"
88
}
99

1010
local function raw_validate_options(fname, opts)

0 commit comments

Comments
 (0)