release v0.3.2 🥳
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Lynne Megido 2021-06-14 18:27:50 +10:00
parent d0a6e918cc
commit 02f377cbb2
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
4 changed files with 23 additions and 19 deletions

View file

@ -2,7 +2,7 @@
Dates are given in YYYY-MM-DD format. Dates are given in YYYY-MM-DD format.
## v0.3 ## v0.3
### v0.3.2 (2021-mm-dd) ### v0.3.2 (2021-06-14)
#### Bugfixes #### Bugfixes
- Fixed PowerShell output regression introduced in v0.2.13, whoops - Fixed PowerShell output regression introduced in v0.2.13, whoops
#### Other #### Other
@ -12,7 +12,7 @@ Dates are given in YYYY-MM-DD format.
- Block compilation if both the `xdg-mime-backend` and `infer-backend` - Block compilation if both the `xdg-mime-backend` and `infer-backend`
[features](https://gitlab.com/Lynnesbian/fif/-/wikis/Cargo-Features) are enabled [features](https://gitlab.com/Lynnesbian/fif/-/wikis/Cargo-Features) are enabled
### v0.3.1 (2021-07-06) ### v0.3.1 (2021-06-07)
#### Features #### Features
- Added JSON output support via `-o json` - Added JSON output support via `-o json`
- Added plaintext output support via `-o text` - Added plaintext output support via `-o text`

2
Cargo.lock generated
View file

@ -183,7 +183,7 @@ checksum = "de853764b47027c2e862a995c34978ffa63c1501f2e15f987ba11bd4f9bba193"
[[package]] [[package]]
name = "fif" name = "fif"
version = "0.3.1" version = "0.3.2"
dependencies = [ dependencies = [
"cached", "cached",
"cfg-if", "cfg-if",

View file

@ -1,7 +1,7 @@
[package] [package]
name = "fif" name = "fif"
description = "A command-line tool for detecting and optionally correcting files with incorrect extensions." description = "A command-line tool for detecting and optionally correcting files with incorrect extensions."
version = "0.3.1" version = "0.3.2"
authors = ["Lynnesbian <lynne@bune.city>"] authors = ["Lynnesbian <lynne@bune.city>"]
edition = "2018" edition = "2018"
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"

View file

@ -13,7 +13,10 @@ fi
# allow find to fail # allow find to fail
find . -name '*.rs' -exec touch "{}" \; || true find . -name '*.rs' -exec touch "{}" \; || true
cargo $_ver clippy --all-features --tests -- \ _backends=( "xdg-mime-backend" "infer-backend" )
for backend in "${_backends[@]}"; do
cargo $_ver clippy --tests --features="$backend" -- \
-W clippy::nursery \ -W clippy::nursery \
-W clippy::perf \ -W clippy::perf \
-W clippy::pedantic \ -W clippy::pedantic \
@ -28,6 +31,7 @@ cargo $_ver clippy --all-features --tests -- \
-A clippy::shadow_unrelated \ -A clippy::shadow_unrelated \
-A clippy::option_if_let_else \ -A clippy::option_if_let_else \
"$_extra" "$_extra"
done
# ALLOWS: # ALLOWS:
# unused_io_amount: there are two places where i want to read up to X bytes and i'm fine with getting less than that # unused_io_amount: there are two places where i want to read up to X bytes and i'm fine with getting less than that