File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1+ ## 1.0.2 (2008-06-08)
12* Added showing release notes while upgrading
3+ * Changed create Makefile from Makefile.sample.mk instead of HEADER.mk
24
35## 1.0.1 (2018-06-06)
46* Added Makefile.sample.mk
Original file line number Diff line number Diff line change @@ -3,26 +3,26 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
33include $(ROOT_DIR ) /.makefile-lib/common.mk
44# END OF REQUIRED SECTION
55
6- .PHONY : help dependencies
6+ .PHONY : help dependencies up start stop restart status ps clean
77
88dependencies : check-dependencies # # Check dependencies
99
1010up : # # Start all or c=<name> containers in foreground
11- @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) up -d $(c )
11+ @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) up $(c )
1212
1313start : # # Start all or c=<name> containers in background
1414 @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) up -d $(c )
1515
1616stop : # # Stop all or c=<name> containers
1717 @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) stop $(c )
1818
19- status : # # Show status of containers
20- @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) ps
21-
2219restart : # # Restart all or c=<name> containers
2320 @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) stop $(c )
2421 @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) up $(c ) -d
2522
23+ status : # # Show status of containers
24+ @$(DOCKER_COMPOSE ) -f $(DOCKER_COMPOSE_FILE ) ps
25+
2626ps : status # # Alias of status
2727
2828clean : # # Clean all data
Original file line number Diff line number Diff line change @@ -31,6 +31,6 @@ if [ -f Makefile ]; then
3131 echo " -------------------------------------------------------------------------------
3232"
3333else
34- cp .mk-lib/HEADER .mk Makefile
34+ cp .mk-lib/Makefile.sample .mk Makefile
3535 echo " Created new Makefile. Feel free to add new commands"
3636fi ;
You can’t perform that action at this time.
0 commit comments