radicle-heartwood-lfs/scripts/just/format-nix.sh

8 lines
164 B
Bash
Executable File

#! /usr/bin/env bash
if command -v alejandra >/dev/null 2>&1; then
alejandra --check .
else
echo "⏭️ alejandra not found, skipping Nix formatting."
fi