Skip to content

Commit

Permalink
remove circleci and unneeded makefile variables (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole authored Jan 9, 2023
1 parent 42d2ee6 commit cb447ae
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 49 deletions.
38 changes: 0 additions & 38 deletions .circleci/config.yml

This file was deleted.

11 changes: 0 additions & 11 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,9 @@ ALL_GO_MOD_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(shell find . -type f -name '
ALL_GO_FILES_DIRS := $(filter-out $(TOOLS_MOD_DIR), $(shell find . -type f -name '*.go' -exec dirname {} \; | sort | uniq))
ALL_COVERAGE_MOD_DIRS := $(shell find . -type f -name 'go.mod' -exec dirname {} \; | grep -E -v '^./example|^$(TOOLS_MOD_DIR)' | sort)

# Mac OS Catalina 10.5.x doesn't support 386. Hence skip 386 test
SKIP_386_TEST = false
UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Darwin)
SW_VERS := $(shell sw_vers -productVersion)
ifeq ($(shell echo $(SW_VERS) | grep -E '^(10.1[5-9]|1[1-9]|[2-9])'), $(SW_VERS))
SKIP_386_TEST = true
endif
endif

GOTEST = go test -v -timeout 70s
GOTEST_SHORT = $(GOTEST) -short
GOTEST_RACE = $(GOTEST) -race
GOTEST_WITH_COVERAGE = $(GOTEST_RACE) -coverprofile=coverage.txt -covermode=atomic

.DEFAULT_GOAL := precommit

Expand Down

0 comments on commit cb447ae

Please sign in to comment.