14 lines
192 B
Bash
Executable File
14 lines
192 B
Bash
Executable File
#!/bin/sh
|
|
# script/fmt: format all files (writes).
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
goimports -l -w .
|
|
golangci-lint run --fix
|
|
}
|
|
|
|
main "$@"
|