IBM / marked-it-cli

marked-it-cli
MIT License
5 stars 15 forks source link

provide a way of modifying the set of file extensions that get auto-copied #5

Closed grant-g closed 5 years ago

grant-g commented 5 years ago

New extension point file.shouldCopy can now be used to override the default decision on whether a file should be copied to the destination or not.

This extension is demonstrated in example/gitIgnoreFilterExt.js. In the example it decides this per-file based on whether the file is in the git project's .gitignore file. Making this decision based on the file's extension would be even easier.

Closing.