-
Notifications
You must be signed in to change notification settings - Fork 462
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
Refactor output emitter and implement missing output styles #910
Conversation
1f2f462
to
fc98c7f
Compare
d9992d0
to
d4a84d5
Compare
570369d
to
3e04554
Compare
3e04554
to
4ca15b0
Compare
@xzyfer IMHO this is ready to be merged! Anything speaking against it from your side? What do you think about the changes in the spec-test? Really hope everything is still in order 😅 |
The only think that jumped out at me is sass/sass-spec#270 (comment). Otherwise 👍 |
👍 |
AppVeyor builds are failing for VC jobs: https://ci.appveyor.com/project/sass/libsass/build/1.0.200. Adding diff --git a/inspect.cpp b/inspect.cpp
index d58dd3c..f3998b1 100644
--- a/inspect.cpp
+++ b/inspect.cpp
@@ -6,6 +6,7 @@
#include <string>
#include <iostream>
#include <iomanip>
+#include <stdint.h> |
4ca15b0
to
9eed5bf
Compare
@am11 I've added the additional header you mentioned in your comment above, but output_nested and output_compressed have been removed actually (or I did not understand your comment)! |
9eed5bf
to
69448eb
Compare
@mgreter, yes actually the error was about files not found (because they were referenced in vcxproj but were removed from repo). 😃 It is now complaining that we need Would it make sense to add headers in |
69448eb
to
7877cfa
Compare
All Green! https://ci.appveyor.com/project/sass/libsass/build/1.0.208. |
Thanks for the help with the appveyor ci build! 🚀 |
@mgreter, there are around 266 warnings in VC job on AppVeyor. Some warnings are ignorable (POSIX style vs. STD-C++ style like
(and vice versa) For instance, in |
Maybe someone that actually uses MSVC could create a patch to solve these warnings? Beside a struct is principally just a class with all variables defined as public ... but wouldn't hurt to get rid of these. We also do have a copy_c_str function which could act as a replacement for strdup. |
Since nobody has any objections against it, I'm going to hit "merge" here in a few minutes! |
Sure. I will try to take a stab at those soon. 😃 |
Refactor output emitter and implement missing output styles
Amazing work @mgreter !! |
This superseeds #899
Related to sass/sass-spec#270 and sass/sassc#97
Fixes
SASS_STYLE_COMPRESSED
fails to eliminate empty rules with comments #894SASS_STYLE_COMPRESSED
fails to eliminate empty rules with comments