Skip to content

Commit

Permalink
0.15.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeterv committed Apr 17, 2016
1 parent 042e118 commit 2f0146b
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ If it is not possible to install [LuaFileSystem](http://keplerproject.github.io/

For manual installation, only a Lua interpreter binary is required.

1. Download and unpack latest Luacheck release ([.zip](https://github.com/mpeterv/luacheck/archive/0.14.0.zip) [.tar.gz](https://github.com/mpeterv/luacheck/archive/0.14.0.tar.gz)).
1. Download and unpack latest Luacheck release ([.zip](https://github.com/mpeterv/luacheck/archive/0.15.0.zip) [.tar.gz](https://github.com/mpeterv/luacheck/archive/0.15.0.tar.gz)).
2. Run `install.lua <path>` script using the Lua interpreter. If Lua interpreter is not in `PATH`, invoke it using absolute path.
3. Add `<path>/bin` to PATH or run Luacheck as `<path>/bin/luacheck`.

Expand Down Expand Up @@ -102,7 +102,7 @@ Documentation can be built using [Sphinx](http://sphinx-doc.org/): `sphinx-build

## Development

Luacheck is currently in development. The latest released version is 0.14.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.
Luacheck is currently in development. The latest released version is 0.15.0. The interface of the `luacheck` module may change between minor releases. The command line interface is fairly stable.

Use the Luacheck issue tracker on GitHub to submit bugs, suggestions and questions. Any pull requests are welcome, too.

Expand Down
11 changes: 6 additions & 5 deletions docsrc/cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ Options taking several arguments can be used several times; ``--ignore foo --ign

Note that options that may take several arguments, such as ``--globals``, should not be used immediately before positional arguments; given ``--globals foo bar file.lua``, ``luacheck`` will consider all ``foo``, ``bar`` and ``file.lua`` global and then panic as there are no file names left.

======================================= ============================================================================
======================================= ================================================================================
Option Meaning
======================================= ============================================================================
======================================= ================================================================================
``-g | --no-global`` Filter out warnings related to global variables.
``-u | --no-unused`` Filter out warnings related to unused variables and values.
``-r | --no-redefined`` Filter out warnings related to redefined variables.
Expand All @@ -72,8 +72,9 @@ Option Meaning
* ``lua53c`` - globals of Lua 5.3 compiled with LUA_COMPAT_5_2;
* ``luajit`` - globals of LuaJIT 2.0;
* ``ngx_lua`` - globals of Openresty `lua-nginx-module <https://github.com/openresty/lua-nginx-module>`_ with LuaJIT 2.0;
* ``min`` - intersection of globals of Lua 5.1, Lua 5.2 and LuaJIT 2.0;
* ``max`` - union of globals of Lua 5.1, Lua 5.2 and LuaJIT 2.0;
* ``rockspec`` - globals allowed in rockspecs;
* ``min`` - intersection of globals of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT 2.0;
* ``max`` - union of globals of Lua 5.1, Lua 5.2, Lua 5.3 and LuaJIT 2.0;
* ``busted`` - globals added by Busted 2.0;
* ``none`` - no standard globals.

Expand Down Expand Up @@ -121,7 +122,7 @@ Option Meaning
``--no-color`` Do not colorize output.
``-v | --version`` Show version of Luacheck and its dependencies and exit.
``-h | --help`` Show help and exit.
======================================= ============================================================================
======================================= ================================================================================

.. _patterns:

Expand Down
4 changes: 2 additions & 2 deletions docsrc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '0.14.0'
version = '0.15.0'
# The full version, including alpha/beta/rc tags.
release = '0.14.0'
release = '0.15.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docsrc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ Contents:
inline
module

This is documentation for 0.14.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <http://www.lua.org/>`_.
This is documentation for 0.15.0 version of `Luacheck <https://github.com/mpeterv/luacheck/>`_, a linter for `Lua <http://www.lua.org/>`_.
2 changes: 1 addition & 1 deletion src/luacheck/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local format = require "luacheck.format"
local utils = require "luacheck.utils"

local luacheck = {
_VERSION = "0.14.0"
_VERSION = "0.15.0"
}

local function raw_validate_options(fname, opts)
Expand Down
1 change: 1 addition & 0 deletions src/luacheck/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ together with used ones.]]):target("unused_secondaries"):action("store_false")
luajit - globals of LuaJIT 2.0;
ngx_lua - globals of Openresty lua-nginx-module
with LuaJIT 2.0;
rockspec - globals allowed in rockspecs;
min - intersection of globals of Lua 5.1, Lua 5.2,
Lua 5.3 and LuaJIT 2.0;
max - union of globals of Lua 5.1, Lua 5.2, Lua 5.3
Expand Down

0 comments on commit 2f0146b

Please sign in to comment.