python-lambda icon indicating copy to clipboard operation
python-lambda copied to clipboard

Subdirectories not included in the zip package

Open applechief opened this issue 8 years ago • 1 comments

subdirectories in the the root folder are being skipped in the build function.

applechief avatar Aug 24 '17 06:08 applechief

Fixed the issue with the prior resolution where directories weren't specifically handled correctly. Solved this problem by adding a configuration parameter to the config.yaml file (updated the default template to set the source_directories value under build) that allows you to specify which folders should be included in the zip package. Went on the assumption that all subdirectories shouldn't be included (ex: '.git', 'tests') - allowing you to explicitly define which source directories to include.

asaolabs avatar Sep 19 '17 20:09 asaolabs