I'm trying to use your plugin (which btw is really promising :)) to make a couple of things with my scss files.
The problem i'm having is in the configuration, as i'd love to have different tasks, with different options, and different target files. Specifically, the target files would be dynamically expanded (not sure it the term is correct, but the link should help to clarify what i mean :) )
(it works fine with a single task, but i'd need different tasks with different plugins and targets)
here's my chunk of code (please note that s.src_scc and stuff like that are just variables to have paths in a separate file) (brackets are missing 'cause it's coffeescript):
My files are in scss/[pkg.name]/file_name.scss in the root.
Id like to be able to call grunt postcss:comb:app to sort some files and grunt:postcss:comb:bootstrap to sort other files, as well as run grunt postcss:prefix:app to use a different plugin on a different set of target files. I've spent my day reading old issues, blogs, Q&As etc, and from my understanding it is possible to do so.
What am i doing wrong?
Hello,
I'm trying to use your plugin (which btw is really promising :)) to make a couple of things with my scss files. The problem i'm having is in the configuration, as i'd love to have different tasks, with different options, and different target files. Specifically, the target files would be dynamically expanded (not sure it the term is correct, but the link should help to clarify what i mean :) ) (it works fine with a single task, but i'd need different tasks with different plugins and targets)
here's my chunk of code (please note that
s.src_scc
and stuff like that are just variables to have paths in a separate file) (brackets are missing 'cause it's coffeescript):My files are in
scss/[pkg.name]/file_name.scss
in the root. Id like to be able to callgrunt postcss:comb:app
to sort some files andgrunt:postcss:comb:bootstrap
to sort other files, as well as rungrunt postcss:prefix:app
to use a different plugin on a different set of target files. I've spent my day reading old issues, blogs, Q&As etc, and from my understanding it is possible to do so. What am i doing wrong?Output in console is:
Thanks! d.