Nov 10, 2022
0
Level 2
Include only pattern
Configuration question.
Bref.sh (serverless.yml) config file allows one to define "patterns" of files to be zipped for Lambda. Does Vapor provide anything similar? https://bref.sh/docs/environment/serverless-yml.html#exclusions
patterns:
- '!**' # exclude all
- 'app/**'
- 'bootstrap/**'
- 'config/**'
- 'public/index.php'
- 'resources/view/**'
- 'routes/**'
- 'artisan'
Currently we have to do something like:
build:
- 'rm .editorconfig'
- 'rm .env.example'
- 'rm .styleci.yml'
- 'rm migration.md'
This required to know every "unwanted" file beforehand
Please or to participate in this conversation.