aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index c40550f..397ebd3 100644
--- a/Makefile
+++ b/Makefile
@@ -60,9 +60,14 @@ lint:
--verbose \
./...
+fix: gci alignment
+
gci:
find . \
-type f \
-name "*.go" \
-not -path "./vendor/*" \
-exec gci write -s standard -s default -s "prefix(git.sr.ht/~gabrielgio/img)" {} +
+
+alignment:
+ betteralign -apply ./...