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

Using Scss or ScssPHP with filter settings #282

Open
sams opened this issue Feb 8, 2016 · 3 comments
Open

Using Scss or ScssPHP with filter settings #282

sams opened this issue Feb 8, 2016 · 3 comments

Comments

@sams
Copy link

sams commented Feb 8, 2016

I have the following in my ini settings. When I run build I get errors about not find sass. And sometimes errors about not finding files on the path. What am I doing wrong?

Really I would like to use the ScssPHP option - but can't seem to get that working at all. So I tried plain sass and think i am close but I do have to tell the plugin where my sass is.

[filter_Scss]
sass = /c/Ruby/bin/sass

My scss = css set. Some files are in core others in components

[all.css]
paths[] = WEBROOT/css/scss/core/
paths[] = WEBROOT/css/scss/components/
files[] = normalize.scss
files[] = main.scss
files[] = _functions.scss
files[] = _settings.scss
files[] = _grid.scss

it seems that I can not get sass to be found. I think I did have it found but it borked on not finding the _grid.scss file.

I get this output and other things

_runCmd('/usr/bin/sass D...', '', Array)

hence i think it is not finding sass despite my setting above

@markstory
Copy link
Owner

Does main.scss import the various _* files? If so you don't need to re-include them with asset_compress.

Normally what I do is:

[all.css]
files[] = main.scss

And inside my scss file, include all the dependencies.

@sams
Copy link
Author

sams commented Feb 8, 2016

No it doesn't. My plan is to set up the initial to control what's included in a build from a framework with in the initial setting of asset compress.

I'll try things on a real machine later. And look in depth at the scssphpfilter. I'd prefer to not have to use ruby

Weird stuff happens on windoze. Msysgit might cause some quirks. The issue is not that it is not accepting my setting for sass - more something other...

@markstory
Copy link
Owner

Ok. I've personally only used the ruby based scss filter, and it works pretty well.

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

No branches or pull requests

2 participants