Compare commits
4 commits
4d553587aa
...
4e37e184ec
Author | SHA1 | Date | |
---|---|---|---|
4e37e184ec | |||
430a4b9ab4 | |||
6837a73672 | |||
bbe1d25681 |
3 changed files with 36 additions and 7 deletions
26
.gitlab-ci.yml
Normal file
26
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
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
|
1
.mailmap
Normal file
1
.mailmap
Normal file
|
@ -0,0 +1 @@
|
|||
Lynne <lynne@bune.city> Lynnesbian <lynne@bune.city>
|
16
README.md
16
README.md
|
@ -1,10 +1,14 @@
|
|||
fif
|
||||
===
|
||||
[![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/)
|
||||
[![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/)
|
||||
|
||||
A command-line tool for detecting and optionally correcting files with incorrect extensions.
|
||||
|
||||
|
@ -86,8 +90,6 @@ 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.
|
||||
|
|
Loading…
Reference in a new issue