fxpio / composer-asset-plugin

NPM/Bower Dependency Manager for Composer
MIT License
893 stars 156 forks source link

Add support of environment variables #274

Closed francoispluchino closed 7 years ago

francoispluchino commented 7 years ago

Add support of the environment variables to override the project configuration and global configuration (#273).

All variables will start with FXP_ASSET__ and uppercased, and each - will replaced by _.

Example:

{
    "config": {
        "fxp-asset": {
            "pattern-skip-version": "(-patch)"
        }
    }
}

Can be overrided by FXP_ASSET__PATTERN_SKIP_VERSION="(-build)" environment variable.

francoispluchino commented 7 years ago

Added by 8929f2bd0b55bf45bf69240b74aac4e9ab83f185.