Skip to content

Commit

Permalink
chore: Release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed May 24, 2024
1 parent b39bbd0 commit cc089e3
Show file tree
Hide file tree
Showing 6 changed files with 112 additions and 6 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file.

## [1.2.0] - 2024-05-24

### Features

- Add builtin standards support for minetest (#108) — @BuckarooBanzay and @appgurueu

### Performance

- Memoize results to addresses speed refression from new feature in v0.26 (#105) — @tomlau10

## [1.1.2] - 2023-12-08

### Features
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
### Windows binary download

For Windows there is single-file 64-bit binary distribution, bundling Lua 5.4.4, Luacheck, LuaFileSystem, and LuaLanes using [LuaStatic](https://github.com/ers35/luastatic):
[download](https://github.com/lunarmodules/luacheck/releases/download/v1.1.2/luacheck.exe).
[download](https://github.com/lunarmodules/luacheck/releases/download/v1.2.0/luacheck.exe).

## Basic usage

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

## Development

Luacheck is currently in development. The latest released version is v1.1.2. 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 v1.2.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
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
default: "."
runs:
using: docker
image: docker://ghcr.io/lunarmodules/luacheck:v1.1.2
image: docker://ghcr.io/lunarmodules/luacheck:v1.2.0
entrypoint: sh
args:
- -c
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 = '1.1.2'
version = '1.2.0'
# The full version, including alpha/beta/rc tags.
release = '1.1.2'
release = '1.2.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
96 changes: 96 additions & 0 deletions rockspecs/luacheck-1.2.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
local package_name = "luacheck"
local package_version = "1.2.0"
local rockspec_revision = "1"
local github_account_name = "lunarmodules"
local github_repo_name = package_name

package = package_name
version = package_version .. "-" .. rockspec_revision

source = {
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git"
}

if package_version == "dev" then source.branch = "master" else source.tag = "v" .. package_version end

description = {
summary = "A static analyzer and a linter for Lua",
detailed = [[
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.
]],
homepage = "https://github.com/lunarmodules/luacheck",
license = "MIT"
}

dependencies = {
"lua >= 5.1",
"argparse >= 0.6.0",
"luafilesystem >= 1.6.3"
}
build = {
type = "builtin",
modules = {
luacheck = "src/luacheck/init.lua",
["luacheck.builtin_standards"] = "src/luacheck/builtin_standards/init.lua",
["luacheck.builtin_standards.love"] = "src/luacheck/builtin_standards/love.lua",
["luacheck.builtin_standards.minetest"] = "src/luacheck/builtin_standards/minetest.lua",
["luacheck.builtin_standards.playdate"] = "src/luacheck/builtin_standards/playdate.lua",
["luacheck.builtin_standards.ngx"] = "src/luacheck/builtin_standards/ngx.lua",
["luacheck.cache"] = "src/luacheck/cache.lua",
["luacheck.check"] = "src/luacheck/check.lua",
["luacheck.check_state"] = "src/luacheck/check_state.lua",
["luacheck.config"] = "src/luacheck/config.lua",
["luacheck.core_utils"] = "src/luacheck/core_utils.lua",
["luacheck.decoder"] = "src/luacheck/decoder.lua",
["luacheck.expand_rockspec"] = "src/luacheck/expand_rockspec.lua",
["luacheck.filter"] = "src/luacheck/filter.lua",
["luacheck.format"] = "src/luacheck/format.lua",
["luacheck.fs"] = "src/luacheck/fs.lua",
["luacheck.globbing"] = "src/luacheck/globbing.lua",
["luacheck.lexer"] = "src/luacheck/lexer.lua",
["luacheck.main"] = "src/luacheck/main.lua",
["luacheck.multithreading"] = "src/luacheck/multithreading.lua",
["luacheck.options"] = "src/luacheck/options.lua",
["luacheck.parser"] = "src/luacheck/parser.lua",
["luacheck.profiler"] = "src/luacheck/profiler.lua",
["luacheck.runner"] = "src/luacheck/runner.lua",
["luacheck.serializer"] = "src/luacheck/serializer.lua",
["luacheck.stages"] = "src/luacheck/stages/init.lua",
["luacheck.stages.detect_bad_whitespace"] = "src/luacheck/stages/detect_bad_whitespace.lua",
["luacheck.stages.detect_compound_operators"] = "src/luacheck/stages/detect_compound_operators.lua",
["luacheck.stages.detect_cyclomatic_complexity"] = "src/luacheck/stages/detect_cyclomatic_complexity.lua",
["luacheck.stages.detect_empty_blocks"] = "src/luacheck/stages/detect_empty_blocks.lua",
["luacheck.stages.detect_empty_statements"] = "src/luacheck/stages/detect_empty_statements.lua",
["luacheck.stages.detect_globals"] = "src/luacheck/stages/detect_globals.lua",
["luacheck.stages.detect_reversed_fornum_loops"] = "src/luacheck/stages/detect_reversed_fornum_loops.lua",
["luacheck.stages.detect_unbalanced_assignments"] = "src/luacheck/stages/detect_unbalanced_assignments.lua",
["luacheck.stages.detect_uninit_accesses"] = "src/luacheck/stages/detect_uninit_accesses.lua",
["luacheck.stages.detect_unreachable_code"] = "src/luacheck/stages/detect_unreachable_code.lua",
["luacheck.stages.detect_unused_fields"] = "src/luacheck/stages/detect_unused_fields.lua",
["luacheck.stages.detect_unused_locals"] = "src/luacheck/stages/detect_unused_locals.lua",
["luacheck.stages.linearize"] = "src/luacheck/stages/linearize.lua",
["luacheck.stages.name_functions"] = "src/luacheck/stages/name_functions.lua",
["luacheck.stages.parse"] = "src/luacheck/stages/parse.lua",
["luacheck.stages.parse_inline_options"] = "src/luacheck/stages/parse_inline_options.lua",
["luacheck.stages.resolve_locals"] = "src/luacheck/stages/resolve_locals.lua",
["luacheck.stages.unwrap_parens"] = "src/luacheck/stages/unwrap_parens.lua",
["luacheck.standards"] = "src/luacheck/standards.lua",
["luacheck.unicode"] = "src/luacheck/unicode.lua",
["luacheck.unicode_printability_boundaries"] = "src/luacheck/unicode_printability_boundaries.lua",
["luacheck.utils"] = "src/luacheck/utils.lua",
["luacheck.vendor.sha1"] = "src/luacheck/vendor/sha1/init.lua",
["luacheck.vendor.sha1.bit32_ops"] = "src/luacheck/vendor/sha1/bit32_ops.lua",
["luacheck.vendor.sha1.bit_ops"] = "src/luacheck/vendor/sha1/bit_ops.lua",
["luacheck.vendor.sha1.common"] = "src/luacheck/vendor/sha1/common.lua",
["luacheck.vendor.sha1.lua53_ops"] = "src/luacheck/vendor/sha1/lua53_ops.lua",
["luacheck.vendor.sha1.pure_lua_ops"] = "src/luacheck/vendor/sha1/pure_lua_ops.lua",
["luacheck.version"] = "src/luacheck/version.lua"
},
install = {
bin = {
luacheck = "bin/luacheck.lua"
}
}
}
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 = "1.1.2"
_VERSION = "1.2.0"
}

local function raw_validate_options(fname, opts, stds, context)
Expand Down

0 comments on commit cc089e3

Please sign in to comment.