From a74d861490ccc5fde8c6cf0f5203be85ca229a30 Mon Sep 17 00:00:00 2001 From: Mathieu Martin Date: Wed, 21 Oct 2020 14:18:11 -0400 Subject: [PATCH] New default make task that generates main and experimental artifacts. (#1041) 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