fxpio / composer-asset-plugin

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

Cannot install MathJax with Github submodule #296

Closed ivan-redooc closed 7 years ago

ivan-redooc commented 7 years ago

MathJax has a submodule: https://github.com/mathjax/MathJax/tree/master/extensions/a11y It seem not possible to dowload/clone mathjax in vendor dir (vendor/bower/MathJax) with its submodule in it.

"require":{
...
    "bower-asset/mathjax": "v2.7.0",
...
}

....

    "repositories": [
      {
        "name": "bower-asset/MathJax",
        "type": "bower-vcs",
        "url": "https://github.com/mathjax/MathJax.git"
      }
    ]
cebe commented 7 years ago

MathJax has a submodule:

I do not see a submodule in the repo you linked, at least on their master branch, there is no .gitmodules file and github does not show a submodule.

ivan-redooc commented 7 years ago

I see. A collegue of mine point out that new version of MathJax v2.7.1 has "Add static copy of the MathJax Accessibility Extensions at v1.2.2." and this solve all my problems. It was not a submodule but a static copy in the new release!