Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic source directories #252

Open
3kynox opened this issue Apr 1, 2016 · 0 comments
Open

Dynamic source directories #252

3kynox opened this issue Apr 1, 2016 · 0 comments

Comments

@3kynox
Copy link

3kynox commented Apr 1, 2016

Hello Folks,

A generic Yeoman angular project compiles compass files in app/styles directory.

Because we need to work on a different app folders structure, I need to compile this files on multiple locations.

Some would point out this plugin https://www.npmjs.com/package/grunt-compass-multiple but that's not my needs as I would like compass compilation occurs on dymamic structure.

For examples, all my files (controllers, images, scripts, scss, ...) are now placed on :

app
-- modules
--- xyz_module <--- dynamic folder
---- assets
----- styles <-- scss files to compile by compass task

In every locations in grunt config file, we are able to use the /** notation to specify every subfolders, that's what is writed on top of grunt file :

// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,/}.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'

But in compass task, if we specify this notation, it takes the /** as a real folder and don't look in subdirs.

My questions are :

  • Is it possible by any way to use this /** notation ?
  • Any workaround if not possible ?

Thanks anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant