# data file that follows the specified schema. |
# data file that follows the specified schema. |
ZConfig = importString('peak.running.commands:ZConfigInterpreter') |
ZConfig = importString('peak.running.commands:ZConfigInterpreter') |
|
|
|
# 'EventDriven' runs a 'running.commands.EventDriven' application, configured |
|
# via a ZConfig file using the 'peak.runnning/EventDriven.xml' schema. This |
|
# only supports PEAK built-in task types, so if you add your own task types |
|
# you'll need to create a new schema and have it import EventDriven.xml. |
|
EventDriven = |
|
naming.LinkRef('zconfig.schema:pkgfile:peak.running/EventDriven.xml') |
|
|
# These are just cute emulations of '/bin/true' and '/bin/false'; |
# These are just cute emulations of '/bin/true' and '/bin/false'; |
# of course they're *much* slower than the real ones! |
# of course they're *much* slower than the real ones! |
|
|
true = lambda: 0 |
true = lambda: 0 |
false = lambda: 1 |
false = lambda: 1 |
|
|
# Run peak's unit tests |
# Run peak's unit tests |
|
|
test = importString('peak.running.commands:TestRunner') |
test = importString('peak.running.commands:TestRunner') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Provide Utilities] |
[Provide Utilities] |
|
|
# "Provide Utilities" sections define utilities by mapping from an import |
# "Provide Utilities" sections define utilities by mapping from an import |