source: waeup/branches/ulif-rewrite/buildout.cfg @ 4356

Last change on this file since 4356 was 4354, checked in by uli, 15 years ago

Ease use of test-coverage tools.

File size: 2.8 KB
Line 
1[buildout]
2develop = .
3parts = app data zopectl i18n test waeupdocs coverage-detect coverage-report
4find-links = http://download.zope.org/distribution/
5newest = false
6extends= http://grok.zope.org/releaseinfo/grok-1.0a3.cfg
7versions = versions
8
9[versions]
10zc.sourcefactory = 0.3.5
11zope.container = 3.8.1
12zope.testing = 3.7.0
13
14[app]
15recipe = zc.zope3recipes>=0.5.3:application
16eggs = waeup
17site.zcml = <include package="waeup" />
18            <include package="zope.app.twisted" />
19
20            <configure i18n_domain="waeup">
21              <unauthenticatedPrincipal id="zope.anybody"
22                                        title="Unauthenticated User" />
23              <unauthenticatedGroup id="zope.Anybody"
24                                    title="Unauthenticated Users" />
25              <authenticatedGroup id="zope.Authenticated"
26                                title="Authenticated Users" />
27              <everybodyGroup id="zope.Everybody"
28                              title="All Users" />
29              <principal id="zope.manager"
30                         title="Manager"
31                         login="grok"
32                         password_manager="Plain Text"
33                         password="grok"
34                         />
35
36              <!-- Replace the following directive if you don't want
37                   public access -->
38              <grant permission="zope.View"
39                     principal="zope.Anybody" />
40              <grant permission="zope.app.dublincore.view"
41                     principal="zope.Anybody" />
42
43              <role id="zope.Manager" title="Site Manager" />
44              <role id="zope.Member" title="Site Member" />
45              <grantAll role="zope.Manager" />
46              <grant role="zope.Manager"
47                     principal="zope.manager" />
48           </configure>
49
50[data]
51recipe = zc.recipe.filestorage
52
53# this section named so that the start/stop script is called bin/zopectl
54[zopectl]
55recipe = zc.zope3recipes:instance
56application = app
57zope.conf = ${data:zconfig}
58
59[test]
60recipe = zc.recipe.testrunner
61eggs = waeup
62defaults = ['--tests-pattern', '^f?tests$', '-v']
63
64# Collect test coverage data.
65[coverage-detect]
66recipe = zc.recipe.testrunner
67eggs = waeup
68defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage']
69
70# Create a coverage report.
71# Make sure to run bin/coverage-detect to collect the data for the report
72# first!
73[coverage-report]
74recipe = zc.recipe.egg
75eggs = z3c.coverage
76scripts = coverage
77arguments = ('parts/coverage-detect/coverage', 'parts/coverage-detect/coverage/report')
78
79
80
81# this section named so that the i18n scripts are called bin/i18n...
82[i18n]
83recipe = lovely.recipe:i18n
84package = waeup
85domain = waeup
86location = src/waeup
87output = locales
88
89[waeupdocs]
90recipe = z3c.recipe.sphinxdoc
91eggs = waeup [docs]
92default.css =
93layout.html =
94
Note: See TracBrowser for help on using the repository browser.