-
Notifications
You must be signed in to change notification settings - Fork 132
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
Command line --version/-v flag #66
Comments
Since there is now a rough roadmap and there is decent traction I think this is sensible. Avoiding these kinds of thread would be great! sass/libsass#492 (comment) |
Yep, that's exactly what I was thinking. Each libsass consumer should presumably be outputting the version of libsass it's using, in addition to its own version. |
I think that would be a good thing, but IMO it should be automatically be taken from the git tags! I personally often include this line in a Makefile:
Later I pass it to gcc to define the
I also add a test if
But not sure if this is really a good solution, since it involves calling git (check for By the way, do you mean the version of sassc or libsass (or both)? |
This only needs to be done at release time though right? My main query is whether this needs to be in sassc or the libsass c api to be useful to upstream consumers like node-sass etc.. |
/copy sass/node-sass#548 (comment). Actually, if we need to serve it to node-sass from downstream, it should come from libsass (as we do not have dependency on sassc there). |
@mgreter, welcome back! 😄 |
My opinions on this can be summarised as
|
I run sassmeister.com as a tool for the Sass community. I try to keep the various compilers up to date, including exposing compiler versions in the UI of the app. This is currently a manual process for the LibSass compiler, as there is no way to determine the version programmatically. I've already opened an issue on the node-sass project, sass/node-sass#548, but as @xzyfer pointed out, programmatic access to the version would have benefits beyond my simple application. Keep up the great work! |
Bundle of thanks to @mgreter! 😄 👍 |
Currently, sassc does not have the ability to output sassc/libsass versions. This should probably mimic the functionality of the ruby executable.
The text was updated successfully, but these errors were encountered: