Compare commits

...

4 commits

Author SHA1 Message Date
4e37e184ec better gitlab CI
All checks were successful
continuous-integration/drone/push Build is passing
2021-04-21 07:06:56 +00:00
430a4b9ab4
added gitlab CI 2021-04-21 16:57:57 +10:00
6837a73672
consider lynne/lynnesbian to be the same author 2021-04-21 16:35:30 +10:00
bbe1d25681
readme badge tweaks, removed mention of nonexistent manpage 2021-04-21 16:09:55 +10:00
3 changed files with 36 additions and 7 deletions

26
.gitlab-ci.yml Normal file
View 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
View file

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

View file

@ -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.