1
0
mirror of https://github.com/nikoksr/notify.git synced 2025-02-11 13:15:34 +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 # Install all the build and lint dependencies
setup: setup:
go mod tidy 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 .PHONY: setup
############################################################################### ###############################################################################
@ -27,12 +30,6 @@ cover:
# CODE HEALTH # 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: fmt:
@gofumpt -w -l . @gofumpt -w -l .