|
| 1 | +package = "luacheck" |
| 2 | +version = "0.7.2-1" |
| 3 | +source = { |
| 4 | + url = "git://github.com/mpeterv/luacheck.git", |
| 5 | + tag = "0.7.2" |
| 6 | +} |
| 7 | +description = { |
| 8 | + summary = "A simple static analyzer for Lua", |
| 9 | + detailed = [[ |
| 10 | +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. |
| 11 | +]], |
| 12 | + homepage = "https://github.com/mpeterv/luacheck", |
| 13 | + license = "MIT/X11" |
| 14 | +} |
| 15 | +dependencies = { |
| 16 | + "lua >= 5.1, < 5.4", |
| 17 | + "argparse >= 0.3.0", |
| 18 | + "ansicolors >= 1.0-1", |
| 19 | + "luafilesystem >= 1.6.2" |
| 20 | +} |
| 21 | +build = { |
| 22 | + type = "builtin", |
| 23 | + modules = { |
| 24 | + luacheck = "src/luacheck.lua", |
| 25 | + ["luacheck.linearize"] = "src/luacheck/linearize.lua", |
| 26 | + ["luacheck.analyze"] = "src/luacheck/analyze.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.stds"] = "src/luacheck/stds.lua", |
| 33 | + ["luacheck.expand_rockspec"] = "src/luacheck/expand_rockspec.lua", |
| 34 | + ["luacheck.utils"] = "src/luacheck/utils.lua", |
| 35 | + ["luacheck.format"] = "src/luacheck/format.lua" |
| 36 | + }, |
| 37 | + install = { |
| 38 | + bin = { |
| 39 | + luacheck = "bin/luacheck.lua" |
| 40 | + } |
| 41 | + }, |
| 42 | + copy_directories = {"spec", "doc"} |
| 43 | +} |
0 commit comments