Skip to content

Dynamic source directories #252

@3kynox

Description

@3kynox

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions