From 7c851155bb17c148cb24266cb96264dac7a0957b Mon Sep 17 00:00:00 2001 From: Victor Gaydov Date: Tue, 4 Apr 2023 13:37:52 +0400 Subject: [PATCH] Add e2e folder to makefile --- Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index f698bb0e9..a14787ebb 100644 --- a/Makefile +++ b/Makefile @@ -6,36 +6,36 @@ tidy: cd _examples && go mod tidy -v gen: - go generate + go generate ./... fmt: - gofmt -s -w . ./_examples + gofmt -s -w . ./e2e ./_examples ifneq (,$(findstring GNU,$(shell sed --version))) - sed -r -e ':loop' -e 's,^(//\t+) ,\1\t,g' -e 't loop' -i *.go _examples/*.go + sed -r -e ':loop' -e 's,^(//\t+) ,\1\t,g' -e 't loop' -i *.go e2e/*.go _examples/*.go endif build: - go build + go build ./... cd _examples && go build lint: - golangci-lint run . + golangci-lint run ./... cd _examples && golangci-lint run . test: ifneq ($(shell which gotest),) - gotest + gotest ./... cd _examples && gotest else - go test + go test ./... cd _examples && go test endif short: ifneq ($(shell which gotest),) - gotest -short + gotest -short ./... else - go test -short + go test -short ./... endif spell: