Skip to content

Commit

Permalink
Added a fmt command for formatting all the source
Browse files Browse the repository at this point in the history
  • Loading branch information
garethr committed Apr 29, 2023
1 parent b0c96e8 commit 75d65fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,8 @@ clients: specs
@oapi-codegen -generate types,client -package packages specs/packages.yaml > ecosystems/packages/packages.go
@oapi-codegen -generate types,client -package repos specs/repos.yaml > ecosystems/repos/repos.go

fmt:
@gofmt -s -w -l .

.PHONY: build test acceptance lint cover specs clients

.PHONY: build test acceptance lint cover specs clients fmt

0 comments on commit 75d65fd

Please sign in to comment.