dotfiles/.config/helix/scripts/testoutput

27 lines
354 B
Text

test:
#!/bin/sh
if command -v tparse >/dev/null 2>&1; then
set -o pipefail && go test ./... -json | tparse --all --smallscreen
else
go test ./...
fi
commit:
git add .
git commit
amend:
git add .
git commit --amend
fmt:
go fmt ./...
tools:
go install tool
lint:
golangci-lint run
check: fmt lint