SHA256
10
0
forked from pool/StyLua

Accepting request 1045044 from devel:languages:lua

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1045044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/StyLua?expand=0&rev=3
This commit is contained in:
2022-12-24 13:52:00 +00:00
committed by Git OBS Bridge
7 changed files with 23 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9a0ce0131f0fa38652f03281c54de0c6e3251e06897a53d719e78449d66e270b
size 357509

3
StyLua-0.15.3.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37feff9a52c2355419cb5dabdc6dac15f6fbef7d91b7cd9f33bd593efe278306
size 358365

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Dec 16 16:00:34 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Disable --all-features in test since `cargo-insta` is
not installed or available in openSUSE.
-------------------------------------------------------------------
Fri Dec 16 14:20:59 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 0.15.3:
* Fixed necessary parentheses removed in (-X) ^ Y causing change in semantics
* Take into account function token size when formatting an anonymous function function() end (particularly relevant when collapsing simple statements)
* Support hanging inside of Luau type arrays { T } to fix formatting issues when comments are present
-------------------------------------------------------------------
Thu Nov 24 13:56:02 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>

View File

@@ -18,7 +18,7 @@
%define _bin_name stylua
Name: StyLua
Version: 0.15.2
Version: 0.15.3
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
@@ -47,7 +47,7 @@ cp %{SOURCE2} .cargo/config.toml
%{cargo_install} --all-features
%check
%{cargo_test} --all-features
%{cargo_test}
%files
%{_bindir}/%{_bin_name}

View File

@@ -1,7 +1,7 @@
<services>
<service name="download_files" mode="disabled" />
<service name="cargo_vendor" mode="disabled">
<param name="srctar">StyLua-0.15.2.tar.gz</param>
<param name="srctar">StyLua-0.15.3.tar.gz</param>
<param name="compression">gz</param>
<param name="update">true</param>
</service>

View File

@@ -2,4 +2,4 @@
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
directory = "vendor"

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12e7ffd139d5ac11717ce36de4054b333808fb3b8922fa17540d4e7100682e18
size 16147333
oid sha256:7e266e9db28387f01d76b972118c408721b788d0ef81898a17db296e799ad3bc
size 16152294