AutoYADM commit: 2025-04-06 19:15:08
This commit is contained in:
parent
2206598680
commit
b7cfa294f8
3 changed files with 36 additions and 0 deletions
8
.config/helix/scripts/format_just.fish
Executable file
8
.config/helix/scripts/format_just.fish
Executable file
|
@ -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
|
27
.config/helix/scripts/testjust
Normal file
27
.config/helix/scripts/testjust
Normal file
|
@ -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
|
||||||
|
|
1
.config/helix/scripts/testoutput
Normal file
1
.config/helix/scripts/testoutput
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue