Skip to content

Commit 538034a

Browse files
committed
Fix redundant make task declarations
1 parent 5fd4e16 commit 538034a

File tree

1 file changed

+5
-17
lines changed

1 file changed

+5
-17
lines changed

makefile

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,11 @@ define kill-redis
2222
(ls $1 > /dev/null 2>&1 && kill $$(cat $1) && rm -f $1) || true
2323
endef
2424

25-
all:
26-
@make --no-print-directory start_all
27-
@make --no-print-directory test
28-
@make --no-print-directory stop_all
29-
30-
start_all:
31-
@make --no-print-directory start
32-
@make --no-print-directory start_slave
33-
@make --no-print-directory start_sentinel
34-
@make --no-print-directory start_cluster
35-
@make --no-print-directory create_cluster
36-
37-
stop_all:
38-
@make --no-print-directory stop_sentinel
39-
@make --no-print-directory stop_slave
40-
@make --no-print-directory stop
41-
@make --no-print-directory stop_cluster
25+
all: start_all test stop_all
26+
27+
start_all: start start_slave start_sentinel start_cluster create_cluster
28+
29+
stop_all: stop_sentinel stop_slave stop stop_cluster
4230

4331
${TMP}:
4432
@mkdir -p $@

0 commit comments

Comments
 (0)