mirror of
https://github.com/nix-community/nh.git
synced 2026-01-12 09:18:35 +01:00
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6a6a696485822c5372023ea93008dd3bef1a50c0
16 lines
359 B
Bash
Executable file
16 lines
359 B
Bash
Executable file
#! /usr/bin/env bash
|
|
set -eux
|
|
|
|
echo "Running 'cargo fix' on the codebase"
|
|
cargo fix --allow-dirty
|
|
|
|
echo "Running clippy linter and applying available fixes"
|
|
cargo clippy --fix --allow-dirty -- -W clippy::pedantic \
|
|
-W clippy::correctness \
|
|
-W clippy::suspicious \
|
|
-W clippy::cargo
|
|
|
|
echo "Running Rust formatter"
|
|
cargo fmt
|
|
|
|
echo "Running TOML formatter"
|