1
1
mirror of https://github.com/urbit/shrub.git synced 2025-01-04 18:43:46 +03:00
shrub/sh/fmt-nix

13 lines
152 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
# Usage: fmt-nix
set -euo pipefail
cd "${0%/*}/.."
echo "Formatting Nix"
find . -type f -name '*.nix' \
-exec nixfmt {} \+