forked from pool/StyLua
Accepting request 1154478 from devel:languages:lua
OBS-URL: https://build.opensuse.org/request/show/1154478 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/StyLua?expand=0&rev=14
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b227f41250925ef4aa4403cea52fbc144d1a78576eb0181b6d477ca7cf31e6bf
|
||||
size 386320
|
3
StyLua-0.20.0.tar.gz
Normal file
3
StyLua-0.20.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4a27b12669953d2edf55b89cc80381f97a2dfa735f53f95c6ae6015c8c35ffb
|
||||
size 412838
|
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 3 17:02:11 UTC 2024 - Andrea Manzini <andrea.manzini@suse.com>
|
||||
|
||||
- Update to version 0.20.0:
|
||||
### Changed
|
||||
- Files excluded by git (via .gitignore or global git configuration), as well as in an .ignore file
|
||||
(used by ripgrep and The Silver Searcher) will now also be ignored by StyLua
|
||||
(as if they were all .styluaignore files).
|
||||
### Fixed
|
||||
* General
|
||||
- The CLI tool will now only write files if the contents differ, and not modify the file if there
|
||||
is no change after formatting
|
||||
- Fixed function body parentheses being placed on multiple lines unnecessarily when there are no parameters
|
||||
- Fixed directory paths w/o globs in .styluaignore not matching when using --respect-ignores
|
||||
* Luau
|
||||
- Fixed handling of floor division (//) syntax when only Luau command line flag is enabled
|
||||
- Fixed missing space when table is inside of Luau interpolated string expression ({{ is invalid syntax)
|
||||
- Fixed parentheses around a Luau compound type inside of a type table indexer being removed causing a syntax error
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 12 13:56:19 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package StyLua
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%define _bin_name stylua
|
||||
Name: StyLua
|
||||
Version: 0.19.0
|
||||
Version: 0.20.0
|
||||
Release: 0
|
||||
Summary: Opinionated Lua code formatter
|
||||
License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Unlicense) AND Apache-2.0 AND MIT AND MPL-2.0 AND MPL-2.0
|
||||
@@ -36,9 +36,7 @@ parses your Lua codebase, and prints it back out from scratch, enforcing a
|
||||
consistent code style.
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
mkdir -p .cargo
|
||||
cp cargo_config .cargo/config.toml
|
||||
%autosetup -a1
|
||||
|
||||
%build
|
||||
%{cargo_build} --all-features
|
||||
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:53311404fb07526a7ae14044047abcf9afcf1a823f93ea6c003a12e80396c39d
|
||||
size 19381631
|
||||
oid sha256:11fb36032c6fb7006a8f774498de580f72fa0c3552b36b21ab668b1b0ae47f50
|
||||
size 16124398
|
||||
|
Reference in New Issue
Block a user