[Checkins] SVN: Sandbox/ulif/z3c.recipe.template/z3c/recipe/template/README.txt More tests.

Uli Fouquet uli at gnufix.de
Mon Mar 9 18:09:36 EDT 2009


Log message for revision 97723:
  More tests.

Changed:
  U   Sandbox/ulif/z3c.recipe.template/z3c/recipe/template/README.txt

-=-
Modified: Sandbox/ulif/z3c.recipe.template/z3c/recipe/template/README.txt
===================================================================
--- Sandbox/ulif/z3c.recipe.template/z3c/recipe/template/README.txt	2009-03-09 22:08:47 UTC (rev 97722)
+++ Sandbox/ulif/z3c.recipe.template/z3c/recipe/template/README.txt	2009-03-09 22:09:36 UTC (rev 97723)
@@ -94,3 +94,34 @@
   >>> print system(join('bin', 'buildout')),
   Uninstalling template.
   Installing template.
+
+Also creation of several subdirectories is supported::
+
+
+  >>> write('buildout.cfg',
+  ... '''
+  ... [buildout]
+  ... parts = template
+  ... offline = true
+  ...
+  ... [template]
+  ... recipe = z3c.recipe.template
+  ... input = template.in
+  ... output = ${buildout:parts-directory}/foo/bar/template
+  ... ''')
+
+  >>> print system(join('bin', 'buildout')),
+  Uninstalling template.
+  Installing template.
+
+  >>> cat('parts', 'foo', 'bar', 'template')
+  #
+  My template knows about buildout path:
+  .../sample-buildout
+
+When changes happen to the output path, then the old path is removed
+on uninstall. Therefore the ``etc/`` directory created above has
+vanished now::
+
+  >>> ls('parts')
+  d  foo



More information about the Checkins mailing list