jbenet/saucer — pull request #2 by ali01 (2012-12-19 17:49:43+00:00)
Title: grunt: target to allow build dir customization

This patch adds a target, `exec:build_includes` to Saucer's Gruntfile. It
also adds a `build_includes` property to the top-level `paths` dictionary that
the user can modify in order copy specific files or directories into
paths.build_dir as part of the build process.

For example:

paths =

...

build_includes:
'/' : [ '', '' ]
'' : [ '', '/' ]

The above will copy and into build;
into build/; and the contents of
into build/.

Note that, if a source path ends in a '/' and points to a directory, the
contents of the directory are copied, rather than the directory itself.