diff --git a/.config/helix/scripts/format_just.fish b/.config/helix/scripts/format_just.fish new file mode 100755 index 00000000..17ba30a3 --- /dev/null +++ b/.config/helix/scripts/format_just.fish @@ -0,0 +1,8 @@ +#!/usr/bin/env fish + +# capture the input +# set -l temp (mktemp) +set -l input (cat -a) +echo $input >testoutput +# echo $input >$temp +# just --justfile $temp --dump diff --git a/.config/helix/scripts/testjust b/.config/helix/scripts/testjust new file mode 100644 index 00000000..6c4be5b7 --- /dev/null +++ b/.config/helix/scripts/testjust @@ -0,0 +1,27 @@ +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 + diff --git a/.config/helix/scripts/testoutput b/.config/helix/scripts/testoutput new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/.config/helix/scripts/testoutput @@ -0,0 +1 @@ +