changeset 445:d139ac1d216a

Add checkout command to example recipe.
author cmlenz
date Thu, 23 Aug 2007 17:08:57 +0000
parents 22d6a7da8777
children a8c331c2d500
files doc/recipes.txt
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/recipes.txt
+++ b/doc/recipes.txt
@@ -36,11 +36,20 @@
 these elements are declared in XML namespaces, where the namespace URI defines
 a collection of related commands.
 
+Commonly, the first step of any build recipe will perform the checkout from the
+repository.
+
 .. code-block:: xml
 
-  <build xmlns:python="http://bitten.cmlenz.net/tools/python">
+  <build xmlns:python="http://bitten.cmlenz.net/tools/python"
+         xmlns:svn="http://bitten.cmlenz.net/tools/svn">
   
-    <step id="build" description="Compile to byte code">
+    <step id="build" description="Checkout source from repository">
+      <svn:checkout url="http://svn.example.org/repos/foo"
+          path="${path}" revision="${revision}" />
+    </step>
+  
+    <step id="checkout" description="Compile to byte code">
       <python:distutils command="build"/>
     </step>
   
Copyright (C) 2012-2017 Edgewall Software