Skip to content

Commit

Permalink
make: disable mod=vendor
Browse files Browse the repository at this point in the history
It's going to be done temporarily only.
  • Loading branch information
karol-kokoszka committed Aug 30, 2024
1 parent 487435a commit a6e9fa5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fmt: ## Format source code
.PHONY: check
check: ## Perform static code analysis
check: .check-go-version .check-copyright .check-comments \
.check-log-capital-letter .check-timeutc .check-lint .check-vendor
.check-log-capital-letter .check-timeutc .check-lint

.PHONY: .check-go-version
.check-go-version:
Expand Down Expand Up @@ -181,7 +181,7 @@ dev-env-status: ## Checks status of docker containers and cluster nodes
.PHONY: build-agent
build-agent: ## Build development agent binary
@echo "==> Building agent"
@CGO_ENABLED=0 GOOS=linux go build -trimpath -mod=vendor -o ./scylla-manager-agent.dev ./pkg/cmd/agent
@CGO_ENABLED=0 GOOS=linux go build -trimpath -o ./scylla-manager-agent.dev ./pkg/cmd/agent

.PHONY: deploy-agent
deploy-agent: build-agent ## Deploy it to testing containers
Expand All @@ -193,12 +193,12 @@ build-cli: ## Build development cli binary
build-cli: OUTPUT=./sctool.dev
build-cli:
@echo "==> Building sctool"
@go build -trimpath -mod=vendor -o $(OUTPUT) ./pkg/cmd/sctool
@go build -trimpath -o $(OUTPUT) ./pkg/cmd/sctool

.PHONY: build-server
build-server: ## Build development server
@echo "==> Building scylla-manager"
@CGO_ENABLED=0 GOOS=linux go build -trimpath -mod=vendor -o ./scylla-manager.dev ./pkg/cmd/scylla-manager
@CGO_ENABLED=0 GOOS=linux go build -trimpath -o ./scylla-manager.dev ./pkg/cmd/scylla-manager

.PHONY: clean-server
clean-server: ## Remove development server container
Expand Down Expand Up @@ -232,7 +232,7 @@ docs: build ## Update docs/source with generated code
.PHONY: filler-tool
filler-tool: ## Build "filler" tool
@echo "==> Building filler"
@go build -trimpath -mod=vendor ./pkg/tools/filler/cmd/filler
@go build -trimpath ./pkg/tools/filler/cmd/filler

.PHONY: clean
clean: ## Remove dev build artifacts (*.dev files)
Expand Down

0 comments on commit a6e9fa5

Please sign in to comment.