-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildout.cfg
72 lines (61 loc) · 1.69 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
[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
https://raw.githubusercontent.com/plonegovbr/portal.buildout/master/buildout.d/versions.cfg
package-name = brasil.gov.agenda
package-extras = [test]
eggs +=
z3c.unconfigure
parts +=
code-analysis
dependencychecker
omelette
precompile
pylint
rebuild_i18n-sh
node
staticresources
releaser
[code-analysis]
recipe = plone.recipe.codeanalysis[recommended]
directory = ${buildout:directory}/src/brasil/gov/agenda
clean-lines-exclude = ${:directory}/browser/static
clean-lines = True
multiprocessing = True
pre-commit-hook = True
return-status-codes = True
flake8-ignore = E501,P001,S001,T000
[dependencychecker]
recipe = zc.recipe.egg
eggs = z3c.dependencychecker
[omelette]
recipe = collective.recipe.omelette
eggs = ${test:eggs}
ignores = brasil.gov.agenda
[pylint]
recipe = zc.recipe.egg
eggs = pylint < 2.0
[node]
recipe = gp.recipe.node
version = 14.15.4
npms = npm yarn
scripts = npm yarn
[staticresources]
recipe = sc.recipe.staticresources
name = brasil.gov.agenda
short_name = brasilgovagenda
[releaser]
recipe = zc.recipe.egg
eggs = zest.releaser
[versions]
# Necessário colocar o pacote com versão vazia para que o versison.cfg do release
# mais novo do extends não sobrescreva o próprio pacote.
brasil.gov.agenda =
# É necessário ter o precompile para gerar os '*.mo' para os testes. Os '*.mo'
# só são gerados quando a instância sobe e para executar os testes a instância
# não é levantada.
[precompile]
recipe = plone.recipe.precompiler
eggs = brasil.gov.agenda
compile-mo-files = true