niyumard 76349f8350 /bin/bash -> /usr/bin/env bash
This enables NixOS users to run the scripts in tools folder. I don't
think it will break compatibility with other distros or make any
breaking changes.
2023-04-19 16:55:56 +03:30

10 lines
118 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail
paths=$(ls examples/*/*.go)
for path in $paths; do
gofmt -w=true $path
done