1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-02-07 13:08:12 +02:00

build(make): merge setup commands

This commit is contained in:
Niko Köser 2022-08-04 15:31:11 +02:00
parent db4454d6a5
commit d6439289a3
No known key found for this signature in database
GPG Key ID: F3F28C118DAA6375

View File

@ -8,6 +8,9 @@ export GOPROXY = https://proxy.golang.org,direct
# Install all the build and lint dependencies
setup:
go mod tidy
@go install mvdan.cc/gofumpt@latest
@go install github.com/daixiang0/gci@latest
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
.PHONY: setup
###############################################################################
@ -27,12 +30,6 @@ cover:
# CODE HEALTH
###############################################################################
setup:
@go install mvdan.cc/gofumpt@latest
@go install github.com/daixiang0/gci@latest
@go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
.PHONY: setup
fmt:
@gofumpt -w -l .