comparison doc/recipes.txt @ 445:d139ac1d216a

Add checkout command to example recipe.
author cmlenz
date Thu, 23 Aug 2007 17:08:57 +0000
parents 84b8cde2dfd4
children dcde61c928af
comparison
equal deleted inserted replaced
444:22d6a7da8777 445:d139ac1d216a
34 34
35 A ``<step>`` element will consist of any number of commands and reports. Most of 35 A ``<step>`` element will consist of any number of commands and reports. Most of
36 these elements are declared in XML namespaces, where the namespace URI defines 36 these elements are declared in XML namespaces, where the namespace URI defines
37 a collection of related commands. 37 a collection of related commands.
38 38
39 Commonly, the first step of any build recipe will perform the checkout from the
40 repository.
41
39 .. code-block:: xml 42 .. code-block:: xml
40 43
41 <build xmlns:python="http://bitten.cmlenz.net/tools/python"> 44 <build xmlns:python="http://bitten.cmlenz.net/tools/python"
45 xmlns:svn="http://bitten.cmlenz.net/tools/svn">
42 46
43 <step id="build" description="Compile to byte code"> 47 <step id="build" description="Checkout source from repository">
48 <svn:checkout url="http://svn.example.org/repos/foo"
49 path="${path}" revision="${revision}" />
50 </step>
51
52 <step id="checkout" description="Compile to byte code">
44 <python:distutils command="build"/> 53 <python:distutils command="build"/>
45 </step> 54 </step>
46 55
47 <step id="test" description="Run unit tests"> 56 <step id="test" description="Run unit tests">
48 <python:distutils command="unittest"/> 57 <python:distutils command="unittest"/>
Copyright (C) 2012-2017 Edgewall Software