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:
parent
db4454d6a5
commit
d6439289a3
9
Makefile
9
Makefile
@ -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 .
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user