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

no output from sassc when using output mode different from nested #27

Closed
FelixSchwarz opened this issue Mar 20, 2013 · 8 comments
Closed

Comments

@FelixSchwarz
Copy link

I don't get any output from sassc if I use the '-t' option with a value different from 'nested'.

For example:

$ sassc -t expanded test.sass
# no output at all

My test.sass file is pretty simple:

$color: #eeeeee;

body {
  font: {
    color: $color;
  }
}

I'm using libsass 9c05850 and sassc 4905e0e (afaik the latest versions as of March 20 2013) on Fedora 18 with a shared libsass.

@craigbarnes
Copy link
Contributor

sassc just interprets the options and passes them to libsass, which currently only supports nested and compressed. I guess the bug is that both sassc and libsass ignore the unimplemented options silently.

@FelixSchwarz
Copy link
Author

Also I'd say it's a problem that the help text of sassc mentions them.

May I assume you also file an issue for libsass if necessary or should I add a new ticket there as well.

@craigbarnes
Copy link
Contributor

May I assume you also file an issue for libsass if necessary or should I add a new ticket there as well.

I'm not libsass developer, I just thought I'd do some drive-by support here, since the developers seem tied down with other things ;)

I guess libsass would be the right place to report it, yes.

@akhleung
Copy link

Sorry, I've been busy with other things. I believe this issue has already been filed in the LibSass repo.

@FelixSchwarz
Copy link
Author

ah, right this seems to be issue 15 (sass/libsass#15).

But as at least some modes are non-functional at the moment maybe you should only list/accept working options in sassc?

@akhleung
Copy link

Oh, yeah, libsass just spits out empty strings for unsupported output formats. I suppose we can make it emit a warning.

HamptonMakes pushed a commit that referenced this issue Jun 9, 2013
@HamptonMakes
Copy link
Member

We'll add support to the libsass ticket.

@HamptonMakes
Copy link
Member

Ahem. What I mean to say is, that when support for the other formats comes out, we'll update sassc, but until then, the issue is really with libsass. So, now that the sassc --help options have been fixed, sassc is in compliance and so this ticket can be closed.

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

4 participants