forked from jstoiko/osprey-profiling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
92 lines (86 loc) · 2.64 KB
/
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
PROJ_ROOT:=~/projects
BRANCH:=rework_webapi_parser
.ONESHELL:
all: clone install link
clone:
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/osprey-mock-service.git
cd $(PROJ_ROOT)/osprey-mock-service
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft/osprey.git
cd $(PROJ_ROOT)/osprey
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/osprey-method-handler.git
cd $(PROJ_ROOT)/osprey-method-handler
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/osprey-resources.git
cd $(PROJ_ROOT)/osprey-resources
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/osprey-router.git
cd $(PROJ_ROOT)/osprey-router
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/raml-path-match.git
cd $(PROJ_ROOT)/raml-path-match
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/node-raml-sanitize.git
cd $(PROJ_ROOT)/node-raml-sanitize
git checkout $(BRANCH)
cd $(PROJ_ROOT)
git clone [email protected]:mulesoft-labs/router.git
cd $(PROJ_ROOT)/router
git checkout router-engine
install:
cd $(PROJ_ROOT)/osprey-mock-service
npm install
cd $(PROJ_ROOT)/osprey
npm install
cd $(PROJ_ROOT)/osprey-method-handler
npm install
cd $(PROJ_ROOT)/osprey-resources
npm install
cd $(PROJ_ROOT)/osprey-router
npm install
cd $(PROJ_ROOT)/raml-path-match
npm install
cd $(PROJ_ROOT)/node-raml-sanitize
npm install
cd $(PROJ_ROOT)/router
npm install
link-osprey:
cd app
npm link $(PROJ_ROOT)/osprey
link:
cd $(PROJ_ROOT)/osprey-mock-service
npm link $(PROJ_ROOT)/osprey
npm link $(PROJ_ROOT)/osprey-resources
npm link $(PROJ_ROOT)/node-raml-sanitize
cd $(PROJ_ROOT)/osprey
npm link $(PROJ_ROOT)/osprey-method-handler
npm link $(PROJ_ROOT)/osprey-resources
npm link $(PROJ_ROOT)/osprey-router
cd $(PROJ_ROOT)/osprey-method-handler
npm link $(PROJ_ROOT)/osprey-router
npm link $(PROJ_ROOT)/node-raml-sanitize
cd $(PROJ_ROOT)/osprey-resources
npm link $(PROJ_ROOT)/osprey-router
cd $(PROJ_ROOT)/osprey-router
npm link $(PROJ_ROOT)/router
npm link $(PROJ_ROOT)/raml-path-match
cd $(PROJ_ROOT)/raml-path-match
npm link $(PROJ_ROOT)/node-raml-sanitize
clean:
rm -rf $(PROJ_ROOT)/node-raml-sanitize/node_modules
rm -rf $(PROJ_ROOT)/osprey-mock-service/node_modules
rm -rf $(PROJ_ROOT)/osprey/node_modules
rm -rf $(PROJ_ROOT)/osprey-method-handler/node_modules
rm -rf $(PROJ_ROOT)/osprey-resources/node_modules
rm -rf $(PROJ_ROOT)/osprey-router/node_modules
rm -rf $(PROJ_ROOT)/raml-path-match/node_modules
rm -rf $(PROJ_ROOT)/node-raml-sanitize/node_modules
rm -rf $(PROJ_ROOT)/router/node_modules