Skip to content

Commit

Permalink
[1.x] New default make task that generates main and experimental arti…
Browse files Browse the repository at this point in the history
…facts. (#1041) (#1060)

Also changing the order of the 'generate' task: it now starts with the new generator, then runs the legacy scripts.
  • Loading branch information
Mathieu Martin authored Oct 29, 2020
1 parent 7ef838b commit a28ee14
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a28ee14

Please sign in to comment.