Skip to content

Commit

Permalink
Include fix imports in justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ross-spencer committed Nov 21, 2024
1 parent 39c6c4d commit 0318dcf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,12 @@ all-checks:
# Compile for all platforms
compile-all:
./distil.sh

# Setup linting
setup:
go install golang.org/x/tools/cmd/goimports@latest
go install honnef.co/go/tools/cmd/staticcheck@latest

# Fix imports
fix-imports:
goimports -w .

0 comments on commit 0318dcf

Please sign in to comment.