-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
73 lines (47 loc) · 1018 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Makefile for ansible-role-postgresql.
# Configuration.
SHELL = /bin/bash
ROOT_DIR = $(shell pwd)
BIN_DIR = $(ROOT_DIR)/bin
DATA_DIR = $(ROOT_DIR)/var
SCRIPT_DIR = $(ROOT_DIR)/script
WGET = wget
# Bin scripts
ANSIBLE_PROVISION = $(shell) $(SCRIPT_DIR)/provision.sh
ANSIBLE_DEPLOY = $(shell) $(SCRIPT_DIR)/deploy.sh
CLEAN = $(shell) $(SCRIPT_DIR)/clean.sh
GVM = $(shell) $(SCRIPT_DIR)/gvm.sh
GRIP = $(shell) $(SCRIPT_DIR)/grip.sh
PYENV = $(shell) $(SCRIPT_DIR)/pyenv.sh
INSTALL = $(shell) $(SCRIPT_DIR)/install.sh
LINTCODE = $(shell) $(SCRIPT_DIR)/lintcode.sh
TEST = $(shell) $(SCRIPT_DIR)/test.sh
SYNC = $(shell) $(SCRIPT_DIR)/sync.sh
WATCH = $(shell) $(SCRIPT_DIR)/watch.sh
ansible_provision:
$(ANSIBLE_PROVISION)
ansible_deploy:
$(ANSIBLE_DEPLOY)
clean:
$(CLEAN)
deploy:
$(ANSIBLE_PROVISION)
$(ANSIBLE_DEPLOY)
environment:
$(PYENV)
$(GVM)
$(INSTALL)
grip:
$(GRIP)
install:
$(INSTALL)
roles:
$(ROLES_ANSIBLE)
lintcode:
$(LINTCODE)
sync:
$(SYNC)
watch:
$(WATCH)
test:
$(TEST)