Implemented a whitelist mode.

This commit is contained in:
Dominik Picheta 2013-06-26 22:45:13 +01:00
commit 19b5d3072f
5 changed files with 104 additions and 40 deletions

View file

@ -53,7 +53,10 @@ structure may be enforced in the future.
All files and folders in the directory of where the .babel file resides will be
copied as-is, you can however skip some directories or files by setting
the 'SkipDirs' or 'SkipFiles' options in your .babel file.
the ``SkipDirs``, ``SkipFiles`` or ``SkipExt`` options in your .babel file.
Directories and files can also be specified on a *whitelist* basis, if you
specify either of ``InstallDirs``, ``InstallFiles`` or ``InstallExt`` then
babel will **only** install the files specified.
#### Example library .babel file
@ -90,6 +93,8 @@ file, copy it into ``$babelDir/pkgs/pkgname-ver/`` and subsequently create a
symlink to the binary in ``$babelDir/bin/``. On Windows a stub .bat file is
created instead.
Other files will be copied in the same way as they are for library packages.
Dependencies are automatically installed before building.
## Dependencies