-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuildout.cfg
93 lines (81 loc) · 1.81 KB
/
buildout.cfg
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
[buildout]
extends =
https://raw.github.com/collective/buildout.plonetest/master/test-4.3.x.cfg
https://raw.github.com/collective/buildout.plonetest/master/qa.cfg
package-name = collective.newsticker
package-extras = [test]
parts +=
code-analysis
createcoverage
i18ndude
omelette
rebuild_i18n-sh
webpack
webpack_env
npm_watch
npm_dev
npm_build
[code-analysis]
recipe = plone.recipe.codeanalysis[recommended]
directory = ${buildout:directory}/src/collective/newsticker
clean-lines = True
clean-lines-exclude = ${:directory}/browser/static
multiprocessing = True
pre-commit-hook = True
return-status-codes = True
flake8 = True
flake8-ignore = E501
[i18ndude]
recipe = zc.recipe.egg
eggs = i18ndude
[omelette]
recipe = collective.recipe.omelette
eggs = ${instance:eggs}
[webpack]
recipe = gp.recipe.node
version = 6.6.0
npms = npm yarn webpack@2
scripts = npm yarn webpack
[webpack_env]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
export PATH=${buildout:bin-directory}:$PATH
cd webpack
yarn
exec $SHELL
output = ${buildout:bin-directory}/webpack_env
mode = 755
[npm_watch]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
PATH=${buildout:bin-directory}:$PATH
cd webpack
yarn
npm run watch
output = ${buildout:bin-directory}/npm_watch
mode = 755
[npm_dev]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
PATH=${buildout:bin-directory}:$PATH
cd webpack
yarn
npm run dev
output = ${buildout:bin-directory}/npm_dev
mode = 755
[npm_build]
recipe = collective.recipe.template
input = inline:
#!/bin/sh
PATH=${buildout:bin-directory}:$PATH
cd webpack
yarn
npm run build
output = ${buildout:bin-directory}/npm_build
mode = 755
[versions]
# use latest version of coverage
coverage =