From a28ee14cb1b56fd1310dd1b9da511a6065bc831a Mon Sep 17 00:00:00 2001 From: Mathieu Martin Date: Thu, 29 Oct 2020 12:41:14 -0400 Subject: [PATCH] [1.x] New default make task that generates main and experimental artifacts. (#1041) (#1060) Also changing the order of the 'generate' task: it now starts with the new generator, then runs the legacy scripts. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 07f0442421..67ee219d8a 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # # Variables # -.DEFAULT_GOAL := generate +.DEFAULT_GOAL := all FIND := find . -type f -not -path './build/*' -not -path './.git/*' FORCE_GO_MODULES := GO111MODULE=on OPEN_DOCS ?= "--open" @@ -12,6 +12,10 @@ VERSION := $(shell cat version) # Targets (sorted alphabetically) # +# Default build generates main and experimental artifacts +.PHONY: all +all: generate experimental + # Check verifies that all of the committed files that are generated are # up-to-date. .PHONY: check @@ -60,7 +64,7 @@ fmt: ve # Alias to generate everything. .PHONY: generate -generate: legacy_use_cases codegen generator +generate: generator legacy_use_cases codegen $(PYTHON) --version # Run the new generator