
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.
10 lines
118 B
Bash
Executable File
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
|