AutoYADM commit: 2025-04-06 19:30:07
This commit is contained in:
parent
b7cfa294f8
commit
84d9887a36
5 changed files with 39 additions and 7 deletions
|
@ -1,8 +1,6 @@
|
|||
#!/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
|
||||
set -l temp (mktemp)
|
||||
cat >$temp
|
||||
just --justfile $temp --dump
|
||||
rm $temp
|
||||
|
|
|
@ -1 +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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue