gruntjs - Using grunt in Symfony project with different bundles -


i'm looking advice & tips on how deal grunt tasks in symfony project containing different bundles.

for example: created "backendbundle" contains basic login system , basic ui general web applications. ui uses twitter bootstrap, parts of jquery ui , contains of own js , css. bundle in private git repo.

i created second bundle (cmsbundle) imports inherits backendbundle , adds cms functionalities backend. cmsbundle uses ui of backendbundle, has css/js of own.

a website project symfony project includes both bundles using composer, bundles downloaded vendor folder.

the problem gruntfile.js resides in root folder of project (aka website), , has no knowledge of the imported bundles' requirements.

is there way include/import tasks provided specific bundle in seperate gruntfile.js file ?

i don't having direct experience making describe work across multiple bundles, seems grunt hub may accomplish you're after. you'd need ensure (grunt hub) can locate gruntfile.js each bundle, either through file globbing pattern or static path(s).

hope helps.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -