Skip to content

Commit cc089e3

Browse files
committed
chore: Release 1.2.0
1 parent b39bbd0 commit cc089e3

File tree

6 files changed

+112
-6
lines changed

6 files changed

+112
-6
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

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

5+
## [1.2.0] - 2024-05-24
6+
7+
### Features
8+
9+
- Add builtin standards support for minetest (#108) — @BuckarooBanzay and @appgurueu
10+
11+
### Performance
12+
13+
- Memoize results to addresses speed refression from new feature in v0.26 (#105) — @tomlau10
14+
515
## [1.1.2] - 2023-12-08
616

717
### Features

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ For parallel checking Luacheck additionally requires [LuaLanes](https://github.c
4040
### Windows binary download
4141

4242
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):
43-
[download](https://github.com/lunarmodules/luacheck/releases/download/v1.1.2/luacheck.exe).
43+
[download](https://github.com/lunarmodules/luacheck/releases/download/v1.2.0/luacheck.exe).
4444

4545
## Basic usage
4646

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

110110
## Development
111111

112-
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.
112+
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.
113113

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

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ inputs:
77
default: "."
88
runs:
99
using: docker
10-
image: docker://ghcr.io/lunarmodules/luacheck:v1.1.2
10+
image: docker://ghcr.io/lunarmodules/luacheck:v1.2.0
1111
entrypoint: sh
1212
args:
1313
- -c

docsrc/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
# built documents.
4949
#
5050
# The short X.Y version.
51-
version = '1.1.2'
51+
version = '1.2.0'
5252
# The full version, including alpha/beta/rc tags.
53-
release = '1.1.2'
53+
release = '1.2.0'
5454

5555
# The language for content autogenerated by Sphinx. Refer to documentation
5656
# for a list of supported languages.
Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
local package_name = "luacheck"
2+
local package_version = "1.2.0"
3+
local rockspec_revision = "1"
4+
local github_account_name = "lunarmodules"
5+
local github_repo_name = package_name
6+
7+
package = package_name
8+
version = package_version .. "-" .. rockspec_revision
9+
10+
source = {
11+
url = "git+https://github.com/" .. github_account_name .. "/" .. github_repo_name .. ".git"
12+
}
13+
14+
if package_version == "dev" then source.branch = "master" else source.tag = "v" .. package_version end
15+
16+
description = {
17+
summary = "A static analyzer and a linter for Lua",
18+
detailed = [[
19+
Luacheck is a command-line tool for linting and static analysis of Lua
20+
code. It is able to spot usage of undefined global variables, unused
21+
local variables and a few other typical problems within Lua programs.
22+
]],
23+
homepage = "https://github.com/lunarmodules/luacheck",
24+
license = "MIT"
25+
}
26+
27+
dependencies = {
28+
"lua >= 5.1",
29+
"argparse >= 0.6.0",
30+
"luafilesystem >= 1.6.3"
31+
}
32+
build = {
33+
type = "builtin",
34+
modules = {
35+
luacheck = "src/luacheck/init.lua",
36+
["luacheck.builtin_standards"] = "src/luacheck/builtin_standards/init.lua",
37+
["luacheck.builtin_standards.love"] = "src/luacheck/builtin_standards/love.lua",
38+
["luacheck.builtin_standards.minetest"] = "src/luacheck/builtin_standards/minetest.lua",
39+
["luacheck.builtin_standards.playdate"] = "src/luacheck/builtin_standards/playdate.lua",
40+
["luacheck.builtin_standards.ngx"] = "src/luacheck/builtin_standards/ngx.lua",
41+
["luacheck.cache"] = "src/luacheck/cache.lua",
42+
["luacheck.check"] = "src/luacheck/check.lua",
43+
["luacheck.check_state"] = "src/luacheck/check_state.lua",
44+
["luacheck.config"] = "src/luacheck/config.lua",
45+
["luacheck.core_utils"] = "src/luacheck/core_utils.lua",
46+
["luacheck.decoder"] = "src/luacheck/decoder.lua",
47+
["luacheck.expand_rockspec"] = "src/luacheck/expand_rockspec.lua",
48+
["luacheck.filter"] = "src/luacheck/filter.lua",
49+
["luacheck.format"] = "src/luacheck/format.lua",
50+
["luacheck.fs"] = "src/luacheck/fs.lua",
51+
["luacheck.globbing"] = "src/luacheck/globbing.lua",
52+
["luacheck.lexer"] = "src/luacheck/lexer.lua",
53+
["luacheck.main"] = "src/luacheck/main.lua",
54+
["luacheck.multithreading"] = "src/luacheck/multithreading.lua",
55+
["luacheck.options"] = "src/luacheck/options.lua",
56+
["luacheck.parser"] = "src/luacheck/parser.lua",
57+
["luacheck.profiler"] = "src/luacheck/profiler.lua",
58+
["luacheck.runner"] = "src/luacheck/runner.lua",
59+
["luacheck.serializer"] = "src/luacheck/serializer.lua",
60+
["luacheck.stages"] = "src/luacheck/stages/init.lua",
61+
["luacheck.stages.detect_bad_whitespace"] = "src/luacheck/stages/detect_bad_whitespace.lua",
62+
["luacheck.stages.detect_compound_operators"] = "src/luacheck/stages/detect_compound_operators.lua",
63+
["luacheck.stages.detect_cyclomatic_complexity"] = "src/luacheck/stages/detect_cyclomatic_complexity.lua",
64+
["luacheck.stages.detect_empty_blocks"] = "src/luacheck/stages/detect_empty_blocks.lua",
65+
["luacheck.stages.detect_empty_statements"] = "src/luacheck/stages/detect_empty_statements.lua",
66+
["luacheck.stages.detect_globals"] = "src/luacheck/stages/detect_globals.lua",
67+
["luacheck.stages.detect_reversed_fornum_loops"] = "src/luacheck/stages/detect_reversed_fornum_loops.lua",
68+
["luacheck.stages.detect_unbalanced_assignments"] = "src/luacheck/stages/detect_unbalanced_assignments.lua",
69+
["luacheck.stages.detect_uninit_accesses"] = "src/luacheck/stages/detect_uninit_accesses.lua",
70+
["luacheck.stages.detect_unreachable_code"] = "src/luacheck/stages/detect_unreachable_code.lua",
71+
["luacheck.stages.detect_unused_fields"] = "src/luacheck/stages/detect_unused_fields.lua",
72+
["luacheck.stages.detect_unused_locals"] = "src/luacheck/stages/detect_unused_locals.lua",
73+
["luacheck.stages.linearize"] = "src/luacheck/stages/linearize.lua",
74+
["luacheck.stages.name_functions"] = "src/luacheck/stages/name_functions.lua",
75+
["luacheck.stages.parse"] = "src/luacheck/stages/parse.lua",
76+
["luacheck.stages.parse_inline_options"] = "src/luacheck/stages/parse_inline_options.lua",
77+
["luacheck.stages.resolve_locals"] = "src/luacheck/stages/resolve_locals.lua",
78+
["luacheck.stages.unwrap_parens"] = "src/luacheck/stages/unwrap_parens.lua",
79+
["luacheck.standards"] = "src/luacheck/standards.lua",
80+
["luacheck.unicode"] = "src/luacheck/unicode.lua",
81+
["luacheck.unicode_printability_boundaries"] = "src/luacheck/unicode_printability_boundaries.lua",
82+
["luacheck.utils"] = "src/luacheck/utils.lua",
83+
["luacheck.vendor.sha1"] = "src/luacheck/vendor/sha1/init.lua",
84+
["luacheck.vendor.sha1.bit32_ops"] = "src/luacheck/vendor/sha1/bit32_ops.lua",
85+
["luacheck.vendor.sha1.bit_ops"] = "src/luacheck/vendor/sha1/bit_ops.lua",
86+
["luacheck.vendor.sha1.common"] = "src/luacheck/vendor/sha1/common.lua",
87+
["luacheck.vendor.sha1.lua53_ops"] = "src/luacheck/vendor/sha1/lua53_ops.lua",
88+
["luacheck.vendor.sha1.pure_lua_ops"] = "src/luacheck/vendor/sha1/pure_lua_ops.lua",
89+
["luacheck.version"] = "src/luacheck/version.lua"
90+
},
91+
install = {
92+
bin = {
93+
luacheck = "bin/luacheck.lua"
94+
}
95+
}
96+
}

src/luacheck/init.lua

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

77
local luacheck = {
8-
_VERSION = "1.1.2"
8+
_VERSION = "1.2.0"
99
}
1010

1111
local function raw_validate_options(fname, opts, stds, context)

0 commit comments

Comments
 (0)