Skip to content
This repository was archived by the owner on Apr 12, 2025. It is now read-only.
This repository was archived by the owner on Apr 12, 2025. It is now read-only.

add a configuration parameter for the bower cache storage directory #98

@ghost

Description

during the bower installation phase it creates a cache directory here:

/path/to/bundles/AcmeBundle/Resources/config/bower/../../public/components/cache

I don't think it should attempt to write anywhere except the symfony cache and the target asset location.

It is possible to configure these directories via this entry in a .bowerrc:

{ "storage":{ "packages":"/path/to/cache" } }

as per this stackoverflow post: http://stackoverflow.com/questions/17881116/how-to-change-bower-default-cache-git-templates-completion-folder-locations/18564317#18564317

or this with the bower command itself:

--config.storage.packages=/path/to/cache

although there could be some problems with that as per this bower issue:
bower/bower#1043 if the build system is not connected to the internet.

This is my first time using bower, so my assessment of how to solve this problem could be incorrect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions