[webgen-users] Copy every file not handled by webgen

23 views
Skip to first unread message

Zoxc

unread,
Nov 2, 2009, 6:00:40 AM11/2/09
to webgen...@rubyforge.org
Hello,

I would like webgen to copy all files that's not handled to the output
directory. Is there an easy way to do this?

- Zoxc
_______________________________________________
webgen-users mailing list
webgen...@rubyforge.org
http://rubyforge.org/mailman/listinfo/webgen-users

Thomas Leitner

unread,
Nov 2, 2009, 8:33:53 AM11/2/09
to webgen...@rubyforge.org
> I would like webgen to copy all files that's not handled to the output
> directory. Is there an easy way to do this?

This is not possible. You will have to tell the CopyHandler the files or
the needed file patterns that should be copied. For example, you could
add the following to your config.yaml to copy additionally copy
all .pdf files:

patterns:
Copy:
add: [**/*.pdf]

-- Thomas

Reply all
Reply to author
Forward
0 new messages