From 3f470bf07a07342322f947b2c35efd6a7f56f448 Mon Sep 17 00:00:00 2001 From: Domino Valdano <2644901+reductionista@users.noreply.github.com> Date: Wed, 24 Jan 2024 14:26:18 -0800 Subject: [PATCH] This should restore "make chainlink" to previous behavior Previously, running "make chainlink" and similar commands used to be able to rebuild the chainlink executable. That stopped working recently, after some dependency changes. This will allow it to rebuild without needing to explicitly run "rm chainlink" each time you modify the source code or change branches. --- GNUmakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index a6e886b7f6c..549a7222a82 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -42,12 +42,15 @@ godoc: ## Install and run godoc install-chainlink: operator-ui ## Install the chainlink binary. go install $(GOFLAGS) . +.PHONY: chainlink chainlink: ## Build the chainlink binary. go build $(GOFLAGS) . +.PHONY: chainlink-dev chainlink-dev: ## Build a dev build of chainlink binary. go build -tags dev $(GOFLAGS) . +.PHONY: chainlink-test chainlink-test: ## Build a test build of chainlink binary. go build $(GOFLAGS) .