Skip to content

Commit f4a41ad

Browse files
committed
fix(Makefile): include router component in make build and friends
1 parent 1fdbf2c commit f4a41ad

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ endef
5454

5555
# due to scheduling problems with fleet 0.2.0, start order of components
5656
# is fragile. hopefully this can be changed soon...
57-
ALL_COMPONENTS=builder cache controller database logger registry
57+
COMPONENTS=builder cache controller database logger registry
58+
ALL_COMPONENTS=$(COMPONENTS) router
5859
START_COMPONENTS=registry logger cache database
5960

60-
ALL_UNITS = $(foreach C, $(ALL_COMPONENTS), $(wildcard $(C)/systemd/*))
61+
ALL_UNITS = $(foreach C, $(COMPONENTS), $(wildcard $(C)/systemd/*))
6162
START_UNITS = $(foreach C, $(START_COMPONENTS), $(wildcard $(C)/systemd/*))
62-
ROUTER_UNITS = $(shell seq -f "deis-router.%g" -s " " $(DEIS_FIRST_ROUTER) 1 $(DEIS_LAST_ROUTER))
63+
ROUTER_UNITS = $(shell seq -f "deis-router.%g.service" -s " " $(DEIS_FIRST_ROUTER) 1 $(DEIS_LAST_ROUTER))
6364

6465
all: build run
6566

0 commit comments

Comments
 (0)