Skip to content

Commit df09f39

Browse files
committed
0.1.0 release
1 parent 7f9a821 commit df09f39

3 files changed

Lines changed: 44 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ luacheck provides a command-line interface as well as a small library which can
2020

2121
## Installation
2222

23+
Install luacheck using [luarocks](http://luarocks.org/):
24+
2325
```bash
24-
$ git clone https://github.com/mpeterv/luacheck
25-
$ cd luacheck
26-
$ [sudo] luarocks make rockspecs/luacheck-git-1.rockspec
26+
$ [sudo] luarocks install luacheck
2727
```
2828

2929
## Command-line interface

doc/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,9 @@ <h2>
5050
</ul><h2>
5151
<a name="installation" class="anchor" href="#installation"><span class="octicon octicon-link"></span></a>Installation</h2>
5252

53-
<div class="highlight highlight-bash"><pre><span class="nv">$ </span>git clone https://github.com/mpeterv/luacheck
54-
<span class="nv">$ </span><span class="nb">cd </span>luacheck
55-
<span class="nv">$ </span><span class="o">[</span>sudo<span class="o">]</span> luarocks install checks
56-
<span class="nv">$ </span><span class="o">[</span>sudo<span class="o">]</span> luarocks make rockspecs/luacheck-git-1.rockspec
53+
<p>Install luacheck using <a href="http://luarocks.org/">luarocks</a>: </p>
54+
55+
<div class="highlight highlight-bash"><pre><span class="nv">$ </span><span class="o">[</span>sudo<span class="o">]</span> luarocks install luacheck
5756
</pre></div>
5857

5958
<h2>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
package = "luacheck"
2+
version = "0.1.0-1"
3+
source = {
4+
url = "git://github.com/mpeterv/luacheck.git",
5+
tag = "0.1.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.format"] = "src/luacheck/format.lua"
31+
},
32+
install = {
33+
bin = {
34+
luacheck = "bin/luacheck.lua"
35+
}
36+
},
37+
copy_directories = {"spec", "doc"}
38+
}

0 commit comments

Comments
 (0)