You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by bo...@apache.org on 2010/01/23 21:07:19 UTC

svn commit: r902474 - /buildr/trunk/doc/packaging.textile

Author: boisvert
Date: Sat Jan 23 20:07:19 2010
New Revision: 902474

URL: http://svn.apache.org/viewvc?rev=902474&view=rev
Log:
BUILDR-357: Fix documentation - exclude does not support glob substitution groups *.{foo,bar}

Modified:
    buildr/trunk/doc/packaging.textile

Modified: buildr/trunk/doc/packaging.textile
URL: http://svn.apache.org/viewvc/buildr/trunk/doc/packaging.textile?rev=902474&r1=902473&r2=902474&view=diff
==============================================================================
--- buildr/trunk/doc/packaging.textile (original)
+++ buildr/trunk/doc/packaging.textile Sat Jan 23 20:07:19 2010
@@ -101,8 +101,7 @@
 And the same way you @include@, you can also @exclude@ specific files you don't want showing up in the ZIP.  For example, to exclude @.draft@ and @.raw@ files:
 
 {% highlight ruby %}
-package(:zip).include('target/docs').
-  exclude(_('target/docs/**/*.{draft,raw}'))
+package(:zip).include(_('target/docs')).exclude('*.draft', '*.raw')
 {% endhighlight %}
 
 So far we've included files under the root of the ZIP.  Let's include some files under a given path using the @:path@ option: