1 | {
|
2 | "dependencies": [
|
3 | {
|
4 | "name": "d@dependency.loader",
|
5 | "type": "loader",
|
6 | "path": ["./plugins/"]
|
7 | }
|
8 | ],
|
9 |
|
10 | "plugins": [
|
11 | {
|
12 | "name": "p@custom.plugin",
|
13 | "type": "custom-plugin",
|
14 | "dependency": "d@dependency.loader"
|
15 | },
|
16 | {
|
17 | "name": "p@libraries.install",
|
18 | "type": "libraries",
|
19 | "dependency": "manager",
|
20 | "action": "install"
|
21 | },
|
22 | {
|
23 | "name": "p@libraries.clean",
|
24 | "type": "libraries",
|
25 | "dependency": "manager",
|
26 | "imports": ["cat"],
|
27 | "action": "clean"
|
28 | },
|
29 | {
|
30 | "name": "p@project.inject",
|
31 | "type": "inject"
|
32 | },
|
33 | {
|
34 | "name": "p@project.clean",
|
35 | "type": "clean",
|
36 | "dependency": "manager",
|
37 | "src": ["target", "_cat_md.json", "lib"]
|
38 | },
|
39 | {
|
40 | "name": "p@project.wipe",
|
41 | "type": "clean",
|
42 | "dependency": "manager",
|
43 | "src": ["src", "lib", "logs/*.log", "cache", "*.log", "*.xml", "phantom/app-view.png"]
|
44 | },
|
45 | {
|
46 | "name": "p@mobile.start",
|
47 | "type": "mobile",
|
48 | "device": "android",
|
49 | "action": "start"
|
50 | },
|
51 | {
|
52 | "name": "p@mobile.install",
|
53 | "type": "mobile",
|
54 | "device": "android",
|
55 | "action": "install"
|
56 | },
|
57 | {
|
58 | "name": "p@project.phantomjs",
|
59 | "type": "phantomjs",
|
60 | "file": "phantomjs-script.js"
|
61 | },
|
62 | {
|
63 | "name": "p@project.webserver.start",
|
64 | "type": "webserver",
|
65 | "action": "start"
|
66 | },
|
67 | {
|
68 | "name": "p@project.runner.start",
|
69 | "type": "runner",
|
70 | "action": "start"
|
71 | },
|
72 | {
|
73 | "name": "p@project.runner.stop",
|
74 | "type": "runner",
|
75 | "action": "stop"
|
76 | },
|
77 | {
|
78 | "name": "p@project.webserver.stop",
|
79 | "type": "webserver",
|
80 | "action": "stop"
|
81 | },
|
82 | {
|
83 | "name": "p@sample.plugin",
|
84 | "type": "sample",
|
85 | "customAttribute": "Custom attribute test"
|
86 | },
|
87 | {
|
88 | "name": "p@autotest.plugin",
|
89 | "type": "autotest"
|
90 | },
|
91 | {
|
92 | "name": "p@scrap.common",
|
93 | "type": "scrap-common"
|
94 | },
|
95 | {
|
96 | "name": "p@scrap.enyo",
|
97 | "type": "scrap-enyo"
|
98 | },
|
99 | {
|
100 | "name": "p@scrap.dom",
|
101 | "type": "scrap-dom"
|
102 | },
|
103 | {
|
104 | "name": "p@scrap.jqm",
|
105 | "type": "scrap-jqm"
|
106 | },{
|
107 | "name": "p@scrap.jasmine",
|
108 | "type": "scrap-jasmine"
|
109 | },
|
110 | {
|
111 | "name": "p@scrap.screenshot",
|
112 | "type": "scrap-screenshot"
|
113 | },
|
114 | {
|
115 | "name": "p@scrap.deviceinfo",
|
116 | "type": "scrap-deviceinfo"
|
117 | },
|
118 | {
|
119 | "name": "p@scrap.vnc",
|
120 | "type": "scrap-vnc"
|
121 | },
|
122 | {
|
123 | "name": "p@scrap.mock",
|
124 | "type": "scrap-mock"
|
125 | },
|
126 | {
|
127 | "name": "p@scrap.sencha",
|
128 | "type": "scrap-sencha"
|
129 | }
|
130 |
|
131 | ],
|
132 |
|
133 | "tasks": [
|
134 | {
|
135 | "name": "t@libs.install",
|
136 | "plugins":["p@libraries.install"]
|
137 | },
|
138 | {
|
139 | "name": "t@libs.clean",
|
140 | "plugins":["p@libraries.clean"]
|
141 | },
|
142 | {
|
143 | "name": "t@clean",
|
144 | "plugins": ["p@project.clean"]
|
145 | },
|
146 | {
|
147 | "name": "t@libs.rebuild",
|
148 | "plugins": ["p@libraries.clean", "p@libraries.install", "p@libraries.build"]
|
149 | },
|
150 | {
|
151 | "name": "t@libs.build",
|
152 | "plugins":["p@libraries.build"]
|
153 | },
|
154 | {
|
155 | "name": "t@install",
|
156 | "plugins":["p@lib.copy"]
|
157 | },
|
158 | {
|
159 | "name": "t@autotest",
|
160 | "plugins":["p@autotest.plugin", "p@src.copy"]
|
161 | },
|
162 | {
|
163 | "name": "t@wipe",
|
164 | "plugins": ["p@project.clean", "p@project.wipe"]
|
165 | },
|
166 | {
|
167 | "name": "t@test",
|
168 | "plugins": ["p@project.webserver.start", "p@project.phantomjs", "p@project.webserver.stop"]
|
169 | },
|
170 | {
|
171 | "name": "t@mtest",
|
172 | "plugins": ["p@mobile.install", "p@project.webserver.start", "p@mobile.start"]
|
173 | },
|
174 | {
|
175 | "name": "t@phantom",
|
176 | "plugins": ["p@project.phantomjs"]
|
177 | },
|
178 | {
|
179 | "name": "t@server.start",
|
180 | "plugins": ["p@project.webserver.start"]
|
181 | },
|
182 | {
|
183 | "name": "t@runner.start",
|
184 | "plugins": ["p@project.runner.start"]
|
185 | },
|
186 | {
|
187 | "name": "t@runner.stop",
|
188 | "plugins": ["p@project.runner.stop"]
|
189 | },
|
190 | {
|
191 | "name": "t@server.stop",
|
192 | "plugins": ["p@project.webserver.stop"]
|
193 | },
|
194 | {
|
195 | "name": "t@sample",
|
196 | "plugins": ["p@sample.plugin"]
|
197 | },
|
198 | {
|
199 | "name": "t@init",
|
200 | "plugins": ["p@project.copy", "p@libraries.build", "p@lib.copy", "p@lib.parse", "p@src.copy"]
|
201 | },
|
202 | {
|
203 | "name": "t@scrap",
|
204 | "plugins": ["p@scrap.common", "p@scrap.jasmine", "p@scrap.sencha", "p@scrap.jqm", "p@scrap.vnc", "p@scrap.enyo", "p@scrap.screenshot", "p@scrap.deviceinfo", "p@custom.plugin"]
|
205 | },
|
206 | {
|
207 | "name": "t@inject",
|
208 | "plugins": ["p@init.scrap", "p@project.inject", "p@project.minify"]
|
209 | }
|
210 | ]
|
211 |
|
212 | } |
\ | No newline at end of file |