Skip to content

Commit f4f52d4

Browse files
committed
Cretate Makefile from sample
1 parent 72685d4 commit f4f52d4

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
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

samples/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@ ROOT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
33
include $(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

88
dependencies: check-dependencies ## Check dependencies
99

1010
up: ## 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

1313
start: ## Start all or c=<name> containers in background
1414
@$(DOCKER_COMPOSE) -f $(DOCKER_COMPOSE_FILE) up -d $(c)
1515

1616
stop: ## 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-
2219
restart: ## 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+
2626
ps: status ## Alias of status
2727

2828
clean: ## Clean all data

scripts/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ if [ -f Makefile ]; then
3131
echo "-------------------------------------------------------------------------------
3232
"
3333
else
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"
3636
fi;

0 commit comments

Comments
 (0)