M
M
magary42017-03-31 12:27:26
Composer
magary4, 2017-03-31 12:27:26

How to manually run only one script from post-install-cmd?

# composer.json

"scripts": {
        "post-install-cmd": [
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
]

is it possible to manually run only one script and not 3 as it happens with composer run-script post-install-cmd???

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question