Git Product home page Git Product logo

Comments (5)

pdesmarais avatar pdesmarais commented on July 29, 2024

A good example can be seen in the Braincrafted/BootstrapBundle

https://github.com/braincrafted/bootstrap-bundle/blob/develop/Command/InstallCommand.php

And, as seen on (http://bootstrap.braincrafted.com/getting-started.html#installation) it's included in composer.json with

"scripts": {
        "post-install-cmd": [
            ...
            "Braincrafted\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::install"
        ],
        "post-update-cmd": [
            ...
            "Braincrafted\\Bundle\\BootstrapBundle\\Composer\\ScriptHandler::install"
        ]
    }

from adminthemebundle.

numerogeek avatar numerogeek commented on July 29, 2024

@glensc Just add the following in composer.json :

        "post-install-cmd": [
            "Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
            "Avanzu\\AdminThemeBundle\\Composer\\ScriptHandler::fetchThemeVendors",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
            "Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile"
        ],

from adminthemebundle.

glensc avatar glensc commented on July 29, 2024

@numerogeek when i created this ticket there was no ScriptHandler class in AdminThemeBundle

script handler was added in 8d7e7e3 via #31 on Feb 25, 2015
while this ticket was created on Aug 11, 2014

@avanzu should review tickets more often, for example #25 is still not solved, nor #27

from adminthemebundle.

shakaran avatar shakaran commented on July 29, 2024

@glensc @numerogeek as far the issue #29 could be rebased and update, probably it could be merged

from adminthemebundle.

shakaran avatar shakaran commented on July 29, 2024

I add in the readme a comment about add autofetching after install/update in a composer symfony project. This the code for ScriptHandler is updated and the PR is outdated and after review the code is not needed anymore. I gonna close it. But reopen if you consider needed. Thanks for your contribution!

from adminthemebundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.