Skip to content

Commit eeaf0d3

Browse files
authored
Fix default goal in Makefile (#411)
1 parent afbdd86 commit eeaf0d3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 1.0.1 under development
44

5-
- Bug #402: Always use only one goal in Makefile (@vjik)
5+
- Bug #402, #411: Always use only one goal in Makefile (@vjik)
66
- Bug #409, #410: Fix fake goals in Makefile (@vjik)
77
- Bug #403: Add DI container delegates configuration (@vjik)
88
- Enh #399: Improve message for missing or invalid APP_ENV (@samdark)

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
.DEFAULT_GOAL := help
2-
31
CLI_ARGS := $(wordlist 2,$(words $(MAKECMDGOALS)),$(MAKECMDGOALS))
42
$(eval $(sort $(subst :,\:,$(CLI_ARGS))):;@:)
53

4+
ifeq ($(MAKECMDGOALS),)
5+
PRIMARY_GOAL := help
6+
else
67
PRIMARY_GOAL := $(firstword $(MAKECMDGOALS))
8+
endif
79

810
include docker/.env
911

0 commit comments

Comments
 (0)