mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-01 03:23:09 +03:00
13 lines
152 B
Plaintext
13 lines
152 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
|
||
|
# Usage: fmt-nix
|
||
|
|
||
|
set -euo pipefail
|
||
|
|
||
|
cd "${0%/*}/.."
|
||
|
|
||
|
echo "Formatting Nix"
|
||
|
|
||
|
find . -type f -name '*.nix' \
|
||
|
-exec nixfmt {} \+
|