magedeploy2 icon indicating copy to clipboard operation
magedeploy2 copied to clipboard

make clean_dirs configurable

Open Stevie-Ray opened this issue 5 years ago • 0 comments

Hi Matthias,

I was wondering, since Magento changed it's way of using var/generation I'd like to suggest to use:

        'clean_dirs' => explode(',',getenv('CLEAN_DIRS')) ?: [
            'var/cache',
            'var/di',
            'var/generation',
        ],

So we can use: CLEAN_DIRS = 'var/cache,generated/code,generated/metadata'

Let me know what you think,

Stevie

Stevie-Ray avatar Oct 21 '18 13:10 Stevie-Ray