Skip to content

Commit b0aa905

Browse files
committed
bug #122 Fix the Makefile (dunglas)
This PR was merged into the master branch. Discussion ---------- Fix the Makefile | Q | A | ------------- | --- | License | MIT Alternative fix to #120. Commits ------- d8f4d2d Fix the Makefile
2 parents 6582891 + d8f4d2d commit b0aa905

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

symfony/framework-bundle/3.3/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ endif
1313
.PHONY: cache-clear
1414

1515
cache-warmup: cache-clear
16-
ifndef CONSOLE
16+
ifdef CONSOLE
17+
@$(CONSOLE) cache:warmup
18+
else
1719
@printf "cannot warmup the cache (needs symfony/console)\n"
18-
@exit 1
1920
endif
20-
@$(CONSOLE) cache:warmup
2121
.PHONY: cache-warmup
2222

2323
serve_as_sf: sf_console

0 commit comments

Comments
 (0)