Compare commits

..

No commits in common. "4e37e184ece87cc99cbd4f3c4ceb9c75a0c045af" and "4d553587aaf863c0dadbdf6c4667c9cd9937370f" have entirely different histories.

3 changed files with 7 additions and 36 deletions

View file

@ -1,26 +0,0 @@
image: "rust:latest"
default:
before_script:
- rustc --version
stages:
- build
- test
build:
stage: build
script:
- cargo build --verbose
- cargo test --verbose
cargo-test:
stage: test
script:
cargo test --verbose
clippy:
stage: test
script:
- rustup component add clippy
- ./clippy.sh

View file

@ -1 +0,0 @@
Lynne <lynne@bune.city> Lynnesbian <lynne@bune.city>

View file

@ -1,14 +1,10 @@
fif
===
[![Version](https://img.shields.io/crates/v/fif.svg?logo=rust&style=flat-square)
](https://crates.io/crates/fif)
![Minimum Supported Rust Version](https://img.shields.io/badge/msrv-1.43.0-orange?logo=rust&style=flat-square)
[![License](https://img.shields.io/crates/l/fif.svg?style=flat-square)
](https://git.bune.city/lynnesbian/fif/src/branch/master/LICENSE)
[![Build status](https://img.shields.io/drone/build/lynnesbian/fif?logo=drone&server=https%3A%2F%2Fdrone.bune.city&style=flat-square)
](https://drone.bune.city/lynnesbian/fif)
[![Unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg?style=flat-square)
](https://github.com/rust-secure-code/safety-dance/)
[![Version](https://img.shields.io/crates/v/fif.svg?style=flat-square)](https://crates.io/crates/fif)
[![License](https://img.shields.io/crates/l/fif.svg?style=flat-square)](https://git.bune.city/lynnesbian/fif/src/branch/master/LICENSE)
![Minimum Supported Rust Version](https://img.shields.io/badge/msrv-1.43.0-orange?style=flat-square)
[![CI Status](https://drone.bune.city/api/badges/lynnesbian/fif/status.svg?style=flat-square)](https://drone.bune.city/lynnesbian/fif)
[![unsafe forbidden](https://img.shields.io/badge/unsafe-forbidden-success.svg)](https://github.com/rust-secure-code/safety-dance/)
A command-line tool for detecting and optionally correcting files with incorrect extensions.
@ -90,6 +86,8 @@ Or a set of extensions - for example, to scan files with image extensions (jpg,
fif -E images ~/Pictures
```
For more information, see [the man page](https://git.bune.city/lynnesbian/fif/src/branch/master/doc/fif.1.txt)
### Output
By default, fif will output a bash script (or PowerShell script on Windows) that can be used to fix all the files it
found with incorrect file extensions.