Skip to content

Commit c7f30ee

Browse files
author
Tony Zhang
committed
Fixing Makefile
1 parent 1537bc3 commit c7f30ee

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ linters:
1919
- depguard
2020
- errcheck
2121
- errorlint
22-
- exportloopref
22+
- copyloopvar
2323
- goconst
2424
- gocritic
2525
- gofmt

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ fmt: ## Run gofumpt against code.
3030
vet: ## Run go vet against code.
3131
go vet ./...
3232

33-
test: fmt vet envtest ## Run tests.
33+
test: fmt vet ## Run tests.
3434
go test -v ./... -coverprofile cover.out
3535

3636
lint: ## Run golangci-lint against code.
@@ -47,15 +47,15 @@ run: build ## Run avalanche CLI
4747

4848
colima: ## check colima
4949
ifndef COLIMA
50-
brew install colima
51-
brew install docker docker-compose
52-
brew install chipmk/tap/docker-mac-net-connect
53-
brew services start chipmk/tap/docker-mac-net-connect
50+
brew install colima
51+
brew install docker docker-compose
52+
brew install chipmk/tap/docker-mac-net-connect
53+
brew services start chipmk/tap/docker-mac-net-connect
5454
endif
5555

5656
docker: colima ## check docker
5757
ifndef DOCKER
58-
$(error "No docker in $(PATH), pls follow https://docs.docker.com/get-docker/ to install")
58+
$(error "No docker in $(PATH), pls follow https://docs.docker.com/get-docker/ to install")
5959
endif
6060

6161
docker-build: docker ## Build docker image

0 commit comments

Comments
 (0)