Skip to content

Commit

Permalink
chore: remove references of legacy mongodbatlas package in make file (#…
Browse files Browse the repository at this point in the history
…1675)

* fix: avoid fmt command being limited to mongodbatlas package

* chore: cleanup references to old mongodbatlas package in compile-test
  • Loading branch information
AgustinBettati authored Nov 29, 2023
1 parent 62ae4e1 commit ddb43b2
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ TEST?=$$(go list ./... | grep -v /integrationtesting)
ACCTEST_TIMEOUT?=300m
PARALLEL_GO_TEST?=5
GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor)
PKG_NAME=mongodbatlas

BINARY_NAME=terraform-provider-mongodbatlas
DESTINATION=./bin/$(BINARY_NAME)
Expand Down Expand Up @@ -50,8 +49,7 @@ testaccgov: fmtcheck
.PHONY: fmt
fmt:
@echo "==> Fixing source code with gofmt..."
gofmt -s -w ./main.go
gofmt -s -w ./$(PKG_NAME)
gofmt -s -w .

.PHONY: fmtcheck
fmtcheck: # Currently required by tf-deploy compile
Expand Down Expand Up @@ -83,11 +81,6 @@ check: test lint

.PHONY: test-compile
test-compile:
@if [ "$(TEST)" = "./..." ]; then \
echo "ERROR: Set TEST to a specific package. For example,"; \
echo " make test-compile TEST=./$(PKG_NAME)"; \
exit 1; \
fi
go test -c $(TEST) $(TESTARGS)

.PHONY: website-lint
Expand Down

0 comments on commit ddb43b2

Please sign in to comment.