diff --git a/.gitignore b/.gitignore index ec2a80e..d5905e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -builds \ No newline at end of file +builds diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..2a788d6 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,8 @@ +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.6.0 # this is optional, use `pre-commit autoupdate` to get the latest rev! + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + diff --git a/Taskfile.dist.yaml b/Taskfile.dist.yaml index a408ec5..ddf9a0c 100644 --- a/Taskfile.dist.yaml +++ b/Taskfile.dist.yaml @@ -10,4 +10,3 @@ tasks: - rm builds/* || true - go tool dist list | grep -v android | grep -v ios | grep -v wasip1 | awk -F '/' '{printf "echo Compiling %s/%s; env CGO_ENABLED=1 GOOS=%s GOARCH=%s go build -o builds/rowboz.%s-%s\n",$1,$2,$1,$2,$1,$2 }' | sh - for i in `ls builds/*windows*`; do mv -v $i $i.exe; done -