Skip to content
Myr

Makefile

This file

Path

Makefile

35 lines · 941 bytes

Last changed by

landed by oscabrieladbc881

History of this file

Take it

The walk stopped after 200 commits: lines older than 89d7b83 point at it.

Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83

lines 1–23why, one step back
1BIN="./bin"
2SRC=$(shell find . -name "*.go")34ifeq (, $(shell which golangci-lint))5$(warning "could not find golangci-lint in $(PATH), run: curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh")6endif78.PHONY: fmt lint test install_deps clean910default: all1112all: fmt test1314fmt:15 $(info ******************** checking formatting ********************)16 @test -z $(shell gofmt -l $(SRC)) || (gofmt -d $(SRC); exit 1)1718lint:19 $(info ******************** running lint tools ********************)20 golangci-lint run -v2122test: install_deps23 $(info ******************** running tests ********************)24 go test -v $(GO_TEST_FLAGS) ./...

Makefile: add target richtest (#1865)Unai Martinez-Corralbefore adoption6200c8e

lines 25–27why, one step back
25
26richtest: install_deps27 $(info ******************** running tests with kyoh86/richgo ********************)28 richgo test -v $(GO_TEST_FLAGS) ./...

Add Polygon Edge as a project using Cobra (#1672)Miloš Živkovićbefore adoption89d7b83

lines 29–35why, one step back
29
30install_deps:31 $(info ******************** downloading dependencies ********************)32 go get -v ./...3334clean:35 rm -rf $(BIN)