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:
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
|
# 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 .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user