1
1
mirror of https://github.com/urbit/shrub.git synced 2024-12-26 13:31:36 +03:00
shrub/sh/fmt
Brendan Hay 48aa77a2fa
build: adding nix, shell, and haskell code formatters
These need to be run through the top-level nix-shell/shell.nix
2020-10-27 13:56:24 +01:00

16 lines
182 B
Bash
Executable File

#!/usr/bin/env bash
# Usage: fmt
# Run all formatters and linters ensuring codebase consistency
set -euo pipefail
cd "${0%/*}"
./fmt-shell
./fmt-nix
./fmt-haskell
echo 'Done.'