sassc 2.0.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.gitmodules +1 -1
  4. data/.travis.yml +9 -3
  5. data/CHANGELOG.md +36 -0
  6. data/CODE_OF_CONDUCT.md +1 -1
  7. data/README.md +1 -1
  8. data/Rakefile +43 -7
  9. data/ext/depend +4 -0
  10. data/ext/extconf.rb +92 -0
  11. data/ext/libsass/VERSION +1 -0
  12. data/ext/libsass/include/sass/base.h +9 -1
  13. data/ext/libsass/include/sass/context.h +5 -1
  14. data/ext/libsass/src/MurmurHash2.hpp +91 -0
  15. data/ext/libsass/src/ast.cpp +755 -2028
  16. data/ext/libsass/src/ast.hpp +492 -2477
  17. data/ext/libsass/src/{to_c.cpp → ast2c.cpp} +22 -16
  18. data/ext/libsass/src/ast2c.hpp +39 -0
  19. data/ext/libsass/src/ast_def_macros.hpp +70 -10
  20. data/ext/libsass/src/ast_fwd_decl.cpp +5 -3
  21. data/ext/libsass/src/ast_fwd_decl.hpp +107 -296
  22. data/ext/libsass/src/ast_helpers.hpp +292 -0
  23. data/ext/libsass/src/ast_sel_cmp.cpp +396 -0
  24. data/ext/libsass/src/ast_sel_super.cpp +539 -0
  25. data/ext/libsass/src/ast_sel_unify.cpp +275 -0
  26. data/ext/libsass/src/ast_sel_weave.cpp +616 -0
  27. data/ext/libsass/src/ast_selectors.cpp +1043 -0
  28. data/ext/libsass/src/ast_selectors.hpp +522 -0
  29. data/ext/libsass/src/ast_supports.cpp +114 -0
  30. data/ext/libsass/src/ast_supports.hpp +121 -0
  31. data/ext/libsass/src/ast_values.cpp +1154 -0
  32. data/ext/libsass/src/ast_values.hpp +498 -0
  33. data/ext/libsass/src/backtrace.cpp +11 -7
  34. data/ext/libsass/src/backtrace.hpp +5 -5
  35. data/ext/libsass/src/base64vlq.cpp +5 -2
  36. data/ext/libsass/src/base64vlq.hpp +1 -1
  37. data/ext/libsass/src/bind.cpp +35 -34
  38. data/ext/libsass/src/bind.hpp +3 -1
  39. data/ext/libsass/src/c2ast.cpp +64 -0
  40. data/ext/libsass/src/c2ast.hpp +14 -0
  41. data/ext/libsass/src/cencode.c +4 -6
  42. data/ext/libsass/src/check_nesting.cpp +83 -88
  43. data/ext/libsass/src/check_nesting.hpp +39 -34
  44. data/ext/libsass/src/color_maps.cpp +168 -164
  45. data/ext/libsass/src/color_maps.hpp +152 -160
  46. data/ext/libsass/src/constants.cpp +20 -0
  47. data/ext/libsass/src/constants.hpp +19 -0
  48. data/ext/libsass/src/context.cpp +104 -121
  49. data/ext/libsass/src/context.hpp +43 -55
  50. data/ext/libsass/src/cssize.cpp +103 -188
  51. data/ext/libsass/src/cssize.hpp +45 -51
  52. data/ext/libsass/src/dart_helpers.hpp +199 -0
  53. data/ext/libsass/src/debugger.hpp +524 -361
  54. data/ext/libsass/src/emitter.cpp +26 -26
  55. data/ext/libsass/src/emitter.hpp +20 -18
  56. data/ext/libsass/src/environment.cpp +41 -27
  57. data/ext/libsass/src/environment.hpp +33 -22
  58. data/ext/libsass/src/error_handling.cpp +92 -94
  59. data/ext/libsass/src/error_handling.hpp +73 -50
  60. data/ext/libsass/src/eval.cpp +380 -515
  61. data/ext/libsass/src/eval.hpp +64 -57
  62. data/ext/libsass/src/eval_selectors.cpp +75 -0
  63. data/ext/libsass/src/expand.cpp +322 -263
  64. data/ext/libsass/src/expand.hpp +55 -39
  65. data/ext/libsass/src/extender.cpp +1188 -0
  66. data/ext/libsass/src/extender.hpp +399 -0
  67. data/ext/libsass/src/extension.cpp +43 -0
  68. data/ext/libsass/src/extension.hpp +89 -0
  69. data/ext/libsass/src/file.cpp +134 -88
  70. data/ext/libsass/src/file.hpp +28 -37
  71. data/ext/libsass/src/fn_colors.cpp +596 -0
  72. data/ext/libsass/src/fn_colors.hpp +85 -0
  73. data/ext/libsass/src/fn_lists.cpp +285 -0
  74. data/ext/libsass/src/fn_lists.hpp +34 -0
  75. data/ext/libsass/src/fn_maps.cpp +94 -0
  76. data/ext/libsass/src/fn_maps.hpp +30 -0
  77. data/ext/libsass/src/fn_miscs.cpp +244 -0
  78. data/ext/libsass/src/fn_miscs.hpp +40 -0
  79. data/ext/libsass/src/fn_numbers.cpp +227 -0
  80. data/ext/libsass/src/fn_numbers.hpp +45 -0
  81. data/ext/libsass/src/fn_selectors.cpp +205 -0
  82. data/ext/libsass/src/fn_selectors.hpp +35 -0
  83. data/ext/libsass/src/fn_strings.cpp +268 -0
  84. data/ext/libsass/src/fn_strings.hpp +34 -0
  85. data/ext/libsass/src/fn_utils.cpp +158 -0
  86. data/ext/libsass/src/fn_utils.hpp +62 -0
  87. data/ext/libsass/src/inspect.cpp +253 -266
  88. data/ext/libsass/src/inspect.hpp +72 -74
  89. data/ext/libsass/src/json.cpp +2 -2
  90. data/ext/libsass/src/lexer.cpp +25 -84
  91. data/ext/libsass/src/lexer.hpp +5 -16
  92. data/ext/libsass/src/listize.cpp +27 -43
  93. data/ext/libsass/src/listize.hpp +14 -11
  94. data/ext/libsass/src/mapping.hpp +1 -0
  95. data/ext/libsass/src/memory.hpp +12 -0
  96. data/ext/libsass/src/memory/allocator.cpp +48 -0
  97. data/ext/libsass/src/memory/allocator.hpp +138 -0
  98. data/ext/libsass/src/memory/config.hpp +20 -0
  99. data/ext/libsass/src/memory/memory_pool.hpp +186 -0
  100. data/ext/libsass/src/memory/shared_ptr.cpp +33 -0
  101. data/ext/libsass/src/memory/shared_ptr.hpp +332 -0
  102. data/ext/libsass/src/operation.hpp +193 -143
  103. data/ext/libsass/src/operators.cpp +56 -29
  104. data/ext/libsass/src/operators.hpp +11 -11
  105. data/ext/libsass/src/ordered_map.hpp +112 -0
  106. data/ext/libsass/src/output.cpp +59 -75
  107. data/ext/libsass/src/output.hpp +15 -22
  108. data/ext/libsass/src/parser.cpp +662 -818
  109. data/ext/libsass/src/parser.hpp +96 -100
  110. data/ext/libsass/src/parser_selectors.cpp +189 -0
  111. data/ext/libsass/src/permutate.hpp +164 -0
  112. data/ext/libsass/src/plugins.cpp +12 -8
  113. data/ext/libsass/src/plugins.hpp +8 -8
  114. data/ext/libsass/src/position.cpp +10 -26
  115. data/ext/libsass/src/position.hpp +44 -21
  116. data/ext/libsass/src/prelexer.cpp +14 -8
  117. data/ext/libsass/src/prelexer.hpp +9 -9
  118. data/ext/libsass/src/remove_placeholders.cpp +59 -57
  119. data/ext/libsass/src/remove_placeholders.hpp +20 -18
  120. data/ext/libsass/src/sass.cpp +25 -18
  121. data/ext/libsass/src/sass.hpp +22 -14
  122. data/ext/libsass/src/sass2scss.cpp +49 -18
  123. data/ext/libsass/src/sass_context.cpp +104 -132
  124. data/ext/libsass/src/sass_context.hpp +2 -2
  125. data/ext/libsass/src/sass_functions.cpp +7 -4
  126. data/ext/libsass/src/sass_functions.hpp +1 -1
  127. data/ext/libsass/src/sass_values.cpp +26 -21
  128. data/ext/libsass/src/settings.hpp +19 -0
  129. data/ext/libsass/src/source.cpp +69 -0
  130. data/ext/libsass/src/source.hpp +95 -0
  131. data/ext/libsass/src/source_data.hpp +32 -0
  132. data/ext/libsass/src/source_map.cpp +27 -20
  133. data/ext/libsass/src/source_map.hpp +14 -11
  134. data/ext/libsass/src/stylesheet.cpp +22 -0
  135. data/ext/libsass/src/stylesheet.hpp +57 -0
  136. data/ext/libsass/src/to_value.cpp +24 -22
  137. data/ext/libsass/src/to_value.hpp +18 -22
  138. data/ext/libsass/src/units.cpp +28 -22
  139. data/ext/libsass/src/units.hpp +9 -8
  140. data/ext/libsass/src/utf8/checked.h +12 -10
  141. data/ext/libsass/src/utf8/core.h +3 -0
  142. data/ext/libsass/src/utf8_string.cpp +12 -10
  143. data/ext/libsass/src/utf8_string.hpp +7 -6
  144. data/ext/libsass/src/util.cpp +97 -107
  145. data/ext/libsass/src/util.hpp +74 -30
  146. data/ext/libsass/src/util_string.cpp +125 -0
  147. data/ext/libsass/src/util_string.hpp +73 -0
  148. data/ext/libsass/src/values.cpp +33 -24
  149. data/ext/libsass/src/values.hpp +2 -2
  150. data/lib/sassc.rb +24 -0
  151. data/lib/sassc/engine.rb +7 -5
  152. data/lib/sassc/functions_handler.rb +11 -13
  153. data/lib/sassc/native.rb +10 -9
  154. data/lib/sassc/native/native_functions_api.rb +0 -5
  155. data/lib/sassc/script.rb +4 -6
  156. data/lib/sassc/version.rb +1 -1
  157. data/sassc.gemspec +32 -12
  158. data/test/engine_test.rb +32 -2
  159. data/test/functions_test.rb +38 -1
  160. data/test/native_test.rb +4 -4
  161. metadata +95 -109
  162. data/ext/Rakefile +0 -3
  163. data/ext/libsass/.editorconfig +0 -15
  164. data/ext/libsass/.gitattributes +0 -2
  165. data/ext/libsass/.github/CONTRIBUTING.md +0 -65
  166. data/ext/libsass/.github/ISSUE_TEMPLATE.md +0 -54
  167. data/ext/libsass/.gitignore +0 -85
  168. data/ext/libsass/.travis.yml +0 -64
  169. data/ext/libsass/COPYING +0 -25
  170. data/ext/libsass/GNUmakefile.am +0 -88
  171. data/ext/libsass/INSTALL +0 -1
  172. data/ext/libsass/LICENSE +0 -25
  173. data/ext/libsass/Makefile +0 -351
  174. data/ext/libsass/Makefile.conf +0 -55
  175. data/ext/libsass/Readme.md +0 -104
  176. data/ext/libsass/SECURITY.md +0 -10
  177. data/ext/libsass/appveyor.yml +0 -91
  178. data/ext/libsass/configure.ac +0 -138
  179. data/ext/libsass/contrib/libsass.spec +0 -66
  180. data/ext/libsass/docs/README.md +0 -20
  181. data/ext/libsass/docs/api-context-example.md +0 -45
  182. data/ext/libsass/docs/api-context-internal.md +0 -163
  183. data/ext/libsass/docs/api-context.md +0 -295
  184. data/ext/libsass/docs/api-doc.md +0 -215
  185. data/ext/libsass/docs/api-function-example.md +0 -67
  186. data/ext/libsass/docs/api-function-internal.md +0 -8
  187. data/ext/libsass/docs/api-function.md +0 -74
  188. data/ext/libsass/docs/api-importer-example.md +0 -112
  189. data/ext/libsass/docs/api-importer-internal.md +0 -20
  190. data/ext/libsass/docs/api-importer.md +0 -86
  191. data/ext/libsass/docs/api-value-example.md +0 -55
  192. data/ext/libsass/docs/api-value-internal.md +0 -76
  193. data/ext/libsass/docs/api-value.md +0 -154
  194. data/ext/libsass/docs/build-on-darwin.md +0 -27
  195. data/ext/libsass/docs/build-on-gentoo.md +0 -55
  196. data/ext/libsass/docs/build-on-windows.md +0 -139
  197. data/ext/libsass/docs/build-shared-library.md +0 -35
  198. data/ext/libsass/docs/build-with-autotools.md +0 -78
  199. data/ext/libsass/docs/build-with-makefiles.md +0 -68
  200. data/ext/libsass/docs/build-with-mingw.md +0 -107
  201. data/ext/libsass/docs/build-with-visual-studio.md +0 -90
  202. data/ext/libsass/docs/build.md +0 -97
  203. data/ext/libsass/docs/compatibility-plan.md +0 -48
  204. data/ext/libsass/docs/contributing.md +0 -17
  205. data/ext/libsass/docs/custom-functions-internal.md +0 -122
  206. data/ext/libsass/docs/dev-ast-memory.md +0 -223
  207. data/ext/libsass/docs/implementations.md +0 -56
  208. data/ext/libsass/docs/plugins.md +0 -47
  209. data/ext/libsass/docs/setup-environment.md +0 -68
  210. data/ext/libsass/docs/source-map-internals.md +0 -51
  211. data/ext/libsass/docs/trace.md +0 -26
  212. data/ext/libsass/docs/triage.md +0 -17
  213. data/ext/libsass/docs/unicode.md +0 -39
  214. data/ext/libsass/extconf.rb +0 -6
  215. data/ext/libsass/include/sass/version.h.in +0 -12
  216. data/ext/libsass/m4/.gitkeep +0 -0
  217. data/ext/libsass/m4/m4-ax_cxx_compile_stdcxx_11.m4 +0 -167
  218. data/ext/libsass/res/resource.rc +0 -35
  219. data/ext/libsass/script/bootstrap +0 -13
  220. data/ext/libsass/script/branding +0 -10
  221. data/ext/libsass/script/ci-build-libsass +0 -134
  222. data/ext/libsass/script/ci-build-plugin +0 -62
  223. data/ext/libsass/script/ci-install-compiler +0 -6
  224. data/ext/libsass/script/ci-install-deps +0 -20
  225. data/ext/libsass/script/ci-report-coverage +0 -42
  226. data/ext/libsass/script/spec +0 -5
  227. data/ext/libsass/script/tap-driver +0 -652
  228. data/ext/libsass/script/tap-runner +0 -1
  229. data/ext/libsass/script/test-leaks.pl +0 -103
  230. data/ext/libsass/src/GNUmakefile.am +0 -54
  231. data/ext/libsass/src/extend.cpp +0 -2130
  232. data/ext/libsass/src/extend.hpp +0 -86
  233. data/ext/libsass/src/functions.cpp +0 -2234
  234. data/ext/libsass/src/functions.hpp +0 -198
  235. data/ext/libsass/src/memory/SharedPtr.cpp +0 -114
  236. data/ext/libsass/src/memory/SharedPtr.hpp +0 -206
  237. data/ext/libsass/src/node.cpp +0 -319
  238. data/ext/libsass/src/node.hpp +0 -118
  239. data/ext/libsass/src/paths.hpp +0 -71
  240. data/ext/libsass/src/sass_util.cpp +0 -149
  241. data/ext/libsass/src/sass_util.hpp +0 -256
  242. data/ext/libsass/src/subset_map.cpp +0 -55
  243. data/ext/libsass/src/subset_map.hpp +0 -76
  244. data/ext/libsass/src/support/libsass.pc.in +0 -11
  245. data/ext/libsass/src/to_c.hpp +0 -39
  246. data/ext/libsass/test/test_node.cpp +0 -94
  247. data/ext/libsass/test/test_paths.cpp +0 -28
  248. data/ext/libsass/test/test_selector_difference.cpp +0 -25
  249. data/ext/libsass/test/test_specificity.cpp +0 -25
  250. data/ext/libsass/test/test_subset_map.cpp +0 -472
  251. data/ext/libsass/test/test_superselector.cpp +0 -69
  252. data/ext/libsass/test/test_unification.cpp +0 -31
  253. data/ext/libsass/version.sh +0 -10
  254. data/ext/libsass/win/libsass.sln +0 -39
  255. data/ext/libsass/win/libsass.sln.DotSettings +0 -9
  256. data/ext/libsass/win/libsass.targets +0 -118
  257. data/ext/libsass/win/libsass.vcxproj +0 -188
  258. data/ext/libsass/win/libsass.vcxproj.filters +0 -357
  259. data/lib/sassc/native/lib_c.rb +0 -21
  260. data/lib/tasks/libsass.rb +0 -33
data/ext/Rakefile DELETED
@@ -1,3 +0,0 @@
1
- require_relative '../lib/tasks/libsass'
2
-
3
- task default: 'libsass:compile'
@@ -1,15 +0,0 @@
1
- # This file is for unifying the coding style for different editors and IDEs
2
- # editorconfig.org
3
-
4
- root = true
5
-
6
- [*]
7
- charset = utf-8
8
- trim_trailing_whitespace = true
9
- insert_final_newline = true
10
- indent_style = space
11
- indent_size = 2
12
-
13
- [{Makefile, GNUmakefile.am}]
14
- indent_style = tab
15
- indent_size = 4
@@ -1,2 +0,0 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
@@ -1,65 +0,0 @@
1
- # Contributing to LibSass
2
-
3
- :+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
4
-
5
- The following is a set of guidelines for contributing to LibSass, which is hosted in the [Sass Organization](https://github.com/sass) on GitHub.
6
- These are just guidelines, not rules, use your best judgment and feel free to propose changes to this document in a pull request.
7
-
8
- LibSass is a library that implements a [sass language][8] compiler. As such it does not directly interface with end users (frontend developers).
9
- For direct contributions to the LibSass code base you will need to have at least a rough idea of C++, we will not lie about that.
10
- But there are other ways to contribute to the progress of LibSass. All contributions are done via github pull requests.
11
-
12
- You can also contribute to the LibSass [documentation][9] or provide additional [spec tests][10] (and we will gladly point you in the
13
- direction for corners that lack test coverage). Foremost we rely on good and concise bug reports for issues the spec tests do not yet catch.
14
-
15
- ## Precheck: My Sass isn't compiling
16
- - [ ] Check if you can reproduce the issue via [SourceMap Inspector][5] (updated regularly).
17
- - [ ] Validate official ruby sass compiler via [SassMeister][6] produces your expected result.
18
- - [ ] Search for similar issue in [LibSass][1] and [node-sass][2] (include closed tickets)
19
- - [ ] Optionally test your code directly with [sass][7] or [sassc][3] ([installer][4])
20
-
21
- ## Precheck: My build/install fails
22
- - [ ] Problems with building or installing libsass should be directed to implementors first!
23
- - [ ] Except for issues directly verified via sassc or LibSass own build (make/autotools9
24
-
25
- ## Craft a meaningfull error report
26
- - [ ] Include the version of libsass and the implementor (i.e. node-sass or sassc)
27
- - [ ] Include information about your operating system and environment (i.e. io.js)
28
- - [ ] Either create a self contained sample that shows your issue ...
29
- - [ ] ... or provide it as a fetchable (github preferred) archive/repo
30
- - [ ] ... and include a step by step list of command to get all dependencies
31
- - [ ] Make it clear if you use indented or/and scss syntax
32
-
33
- ## My error is hiding in a big code base
34
- 1. we do not have time to support your code base!
35
- 2. to fix occuring issues we need precise bug reports
36
- 3. the more precise you are, the faster we can help you
37
- 4. lazy reports get overlooked even when exposing serious bugs
38
- 5. it's not hard to do, it only takes time
39
- - [ ] Make sure you saved the current state (i.e. commit to git)
40
- - [ ] Start by uncommenting blocks in the initial source file
41
- - [ ] Check if the problem is still there after each edit
42
- - [ ] Repeat until the problem goes away
43
- - [ ] Inline imported files as you go along
44
- - [ ] Finished once you cannot remove more
45
- - [ ] The emphasis is on the word "repeat" ...
46
-
47
- ## What makes a code test case
48
-
49
- Important is that someone else can get the test case up and running to reproduce it locally. For this
50
- we urge you to verify that your sample yields the expected result by testing it via [SassMeister][6]
51
- or directly via ruby sass or node-sass (or any other libsass implementor) before submitting your bug
52
- report. Once you verified all of the above, you may use the template below to file your bug report.
53
-
54
-
55
- [1]: https://github.com/sass/libsass/issues?utf8=%E2%9C%93&q=is%3Aissue
56
- [2]: https://github.com/sass/node-sass/issues?utf8=%E2%9C%93&q=is%3Aissue
57
- [3]: https://github.com/sass/sassc
58
- [4]: http://libsass.ocbnet.ch/installer/
59
- [5]: http://libsass.ocbnet.ch/srcmap/
60
- [6]: http://www.sassmeister.com/
61
- [7]: https://rubygems.org/gems/sass
62
-
63
- [8]: http://sass-lang.com/
64
- [9]: https://github.com/sass/libsass/tree/master/docs
65
- [10]: https://github.com/sass/sass-spec
@@ -1,54 +0,0 @@
1
- [todo]: # (Title: Be as meaningful as possible)
2
- [todo]: # (Title: Try to use 60 or less chars)
3
-
4
- [todo]: # (This is only a template!)
5
- [todo]: # (remove unneeded bits)
6
- [todo]: # (use github preview!)
7
-
8
- ## input.scss
9
-
10
- [todo]: # (always test and report with scss syntax)
11
- [todo]: # (use sass only when results differ from scss)
12
-
13
- ```scss
14
- test {
15
- content: bar
16
- }
17
- ```
18
-
19
- ## Actual results
20
-
21
- [todo]: # (update version info!)
22
-
23
- [libsass 3.X.y][1]
24
- ```css
25
- test {
26
- content: bar; }
27
- ```
28
-
29
- ## Expected result
30
-
31
- [todo]: # (update version info!)
32
-
33
- ruby sass 3.X.y
34
- ```css
35
- test {
36
- content: bar; }
37
- ```
38
-
39
- [todo]: # (update version info!)
40
- [todo]: # (example for node-sass!)
41
-
42
- version info:
43
- ```cmd
44
- $ node-sass --version
45
- node-sass 3.X.y (Wrapper) [JavaScript]
46
- libsass 3.X.y (Sass Compiler) [C/C++]
47
- ```
48
-
49
- [todo]: # (Go to http://libsass.ocbnet.ch/srcmap)
50
- [todo]: # (Enter your SCSS code and hit compile)
51
- [todo]: # (Click `bookmark` and replace the url)
52
- [todo]: # (link is used in actual results above)
53
-
54
- [1]: http://libsass.ocbnet.ch/srcmap/#dGVzdCB7CiAgY29udGVudDogYmFyOyB9Cg==
@@ -1,85 +0,0 @@
1
- # Miscellaneous stuff
2
-
3
- /sassc
4
- /sass-spec
5
-
6
- VERSION
7
- .DS_Store
8
- .sass-cache
9
- *.gem
10
- *.gcno
11
- .svn/*
12
- .cproject
13
- .project
14
- .settings/
15
- *.db
16
- *.aps
17
-
18
- # Configuration stuff
19
-
20
- GNUmakefile.in
21
- GNUmakefile
22
- /aclocal.m4
23
- /autom4te.cache/
24
- /src/config.h
25
- /config.h.in
26
- /config.log
27
- /config.status
28
- /configure
29
- /libtool
30
- /m4/libtool.m4
31
- /m4/ltoptions.m4
32
- /m4/ltsugar.m4
33
- /m4/ltversion.m4
34
- /m4/lt~obsolete.m4
35
- /script/ar-lib
36
- /script/compile
37
- /script/config.guess
38
- /script/config.sub
39
- /script/depcomp
40
- /script/install-sh
41
- /script/ltmain.sh
42
- /script/missing
43
- /script/test-driver
44
- /src/stamp-h1
45
- /src/Makefile.in
46
- /src/Makefile
47
- libsass/*
48
-
49
- # Build stuff
50
-
51
- *.o
52
- *.lo
53
- *.so
54
- *.dll
55
- *.a
56
- *.suo
57
- *.sdf
58
- *.opendb
59
- *.opensdf
60
- a.out
61
- libsass.js
62
- tester
63
- tester.exe
64
- build/
65
- config.h.in*
66
- lib/pkgconfig/
67
-
68
- bin/*
69
- .deps/
70
- .libs/
71
- win/bin
72
- *.user
73
- win/*.db
74
-
75
- # Final results
76
-
77
- sassc++
78
- libsass.la
79
- src/support/libsass.pc
80
-
81
- # Cloned testing dirs
82
- sassc/
83
- sass-spec/
84
-
85
- installer/
@@ -1,64 +0,0 @@
1
- language: cpp
2
- sudo: false
3
-
4
-
5
- # don't create redundant code coverage reports
6
- # - AUTOTOOLS=yes COVERAGE=yes BUILD=static
7
- # - AUTOTOOLS=no COVERAGE=yes BUILD=shared
8
- # - AUTOTOOLS=no COVERAGE=no BUILD=static
9
-
10
- # further speed up day by day travis-ci builds
11
- # re-enable this if you change the makefiles
12
- # this will still catch all coding errors!
13
- # - AUTOTOOLS=yes COVERAGE=no BUILD=static
14
-
15
- # currenty there are various issues when
16
- # built with coverage, clang and autotools
17
- # - AUTOTOOLS=yes COVERAGE=yes BUILD=shared
18
-
19
- matrix:
20
- include :
21
- - os: linux
22
- compiler: gcc
23
- env: AUTOTOOLS=no COVERAGE=yes BUILD=static
24
- - os: linux
25
- compiler: g++-5
26
- env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
27
- addons:
28
- apt:
29
- sources:
30
- - ubuntu-toolchain-r-test
31
- packages:
32
- - g++-5
33
- - os: linux
34
- compiler: clang++-3.7
35
- env: AUTOTOOLS=no COVERAGE=yes BUILD=static
36
- addons:
37
- apt:
38
- sources:
39
- - ubuntu-toolchain-r-test
40
- - llvm-toolchain-precise-3.7
41
- packages:
42
- - clang-3.7
43
- - os: linux
44
- compiler: clang
45
- env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
46
- - os: osx
47
- compiler: clang
48
- env: AUTOTOOLS=no COVERAGE=no BUILD=shared
49
- - os: osx
50
- compiler: clang
51
- env: AUTOTOOLS=no COVERAGE=yes BUILD=static
52
- - os: osx
53
- compiler: clang
54
- env: AUTOTOOLS=yes COVERAGE=no BUILD=shared
55
-
56
- script:
57
- - ./script/ci-build-libsass
58
- - ./script/ci-build-plugin math
59
- - ./script/ci-build-plugin glob
60
- - ./script/ci-build-plugin digest
61
- - ./script/ci-build-plugin tests
62
- before_install: ./script/ci-install-deps
63
- install: ./script/ci-install-compiler
64
- after_success: ./script/ci-report-coverage
data/ext/libsass/COPYING DELETED
@@ -1,25 +0,0 @@
1
-
2
- Copyright (C) 2012 by Hampton Catlin
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- this software and associated documentation files (the "Software"), to deal in
6
- the Software without restriction, including without limitation the rights to
7
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8
- of the Software, and to permit persons to whom the Software is furnished to do
9
- so, subject to the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be included in all
12
- copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- SOFTWARE.
21
-
22
-
23
- The following files in the spec were taken from the original Ruby Sass project which
24
- is copyright Hampton Catlin, Nathan Weizenbaum, and Chris Eppstein and under
25
- the same license.
@@ -1,88 +0,0 @@
1
- ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4 -I script
2
-
3
- AM_COPT = -Wall -O2
4
- AM_COVLDFLAGS =
5
-
6
- if ENABLE_COVERAGE
7
- AM_COPT = -Wall -O1 -fno-omit-frame-pointer --coverage
8
- AM_COVLDFLAGS += -lgcov
9
- endif
10
-
11
- AM_CPPFLAGS = -I$(top_srcdir)/include
12
- AM_CFLAGS = $(AM_COPT)
13
- AM_CXXFLAGS = $(AM_COPT)
14
- AM_LDFLAGS = $(AM_COPT) $(AM_COVLDFLAGS)
15
-
16
- # only needed to support old source tree
17
- # we have moved the files to src folder
18
- AM_CPPFLAGS += -I$(top_srcdir)
19
-
20
- RESOURCES =
21
- if COMPILER_IS_MINGW32
22
- RESOURCES += res/libsass.rc
23
- AM_CXXFLAGS += -std=gnu++0x
24
- else
25
- AM_CXXFLAGS += -std=c++0x
26
- endif
27
-
28
- if ENABLE_TESTS
29
-
30
- noinst_PROGRAMS = tester
31
-
32
- tester_LDADD = src/libsass.la
33
- tester_SOURCES = $(SASS_SASSC_PATH)/sassc.c
34
- tester_VERSION ?= `cd "$(SASS_SASSC_PATH)" && ./version.sh`
35
- tester_CFLAGS = $(AM_CFLAGS) -DSASSC_VERSION="\"$(tester_VERSION)\""
36
- tester_CXXFLAGS = $(AM_CXXFLAGS) -DSASSC_VERSION="\"$(tester_VERSION)\""
37
- tester_LDFLAGS = $(AM_LDFLAGS)
38
-
39
- if ENABLE_COVERAGE
40
- nodist_EXTRA_tester_SOURCES = non-existent-file-to-force-CXX-linking.cxx
41
- endif
42
-
43
- SASS_SASSC_PATH ?= $(top_srcdir)/sassc
44
- SASS_SPEC_PATH ?= $(top_srcdir)/sass-spec
45
-
46
- TESTS = \
47
- $(SASS_SPEC_PATH)/spec/basic \
48
- $(SASS_SPEC_PATH)/spec/css \
49
- $(SASS_SPEC_PATH)/spec/extend-tests \
50
- $(SASS_SPEC_PATH)/spec/extends \
51
- $(SASS_SPEC_PATH)/spec/libsass \
52
- $(SASS_SPEC_PATH)/spec/libsass-closed-issues \
53
- $(SASS_SPEC_PATH)/spec/maps \
54
- $(SASS_SPEC_PATH)/spec/misc \
55
- $(SASS_SPEC_PATH)/spec/regressions \
56
- $(SASS_SPEC_PATH)/spec/scss \
57
- $(SASS_SPEC_PATH)/spec/scss-tests \
58
- $(SASS_SPEC_PATH)/spec/types
59
-
60
- SASS_TEST_FLAGS = -V 3.5 --impl libsass
61
- LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) ./script/tap-driver
62
- AM_LOG_FLAGS = -c ./tester $(LOG_FLAGS)
63
- if USE_TAP
64
- AM_LOG_FLAGS += -t
65
- SASS_TEST_FLAGS += -t | tapout
66
- LOG_COMPILER = ./script/tap-runner $(RUBY) $(SASS_SPEC_PATH)/sass-spec.rb
67
- else
68
- LOG_COMPILER = $(RUBY) $(SASS_SPEC_PATH)/sass-spec.rb
69
- endif
70
-
71
- SASS_TESTER = $(RUBY) $(SASS_SPEC_PATH)/sass-spec.rb
72
- SASS_TESTER += -c $(top_srcdir)/tester$(EXEEXT)
73
-
74
- test:
75
- $(SASS_TESTER) $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
76
-
77
- test_build:
78
- $(SASS_TESTER) $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
79
-
80
- test_full:
81
- $(SASS_TESTER) --run-todo $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
82
-
83
- test_probe:
84
- $(SASS_TESTER) --probe-todo $(LOG_FLAGS) $(SASS_SPEC_PATH) $(SASS_TEST_FLAGS)
85
-
86
- endif
87
-
88
- SUBDIRS = src
data/ext/libsass/INSTALL DELETED
@@ -1 +0,0 @@
1
- // Autotools requires us to have this file. Boo.
data/ext/libsass/LICENSE DELETED
@@ -1,25 +0,0 @@
1
-
2
- Copyright (C) 2012-2016 by the Sass Open Source Foundation
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- this software and associated documentation files (the "Software"), to deal in
6
- the Software without restriction, including without limitation the rights to
7
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8
- of the Software, and to permit persons to whom the Software is furnished to do
9
- so, subject to the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be included in all
12
- copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- SOFTWARE.
21
-
22
-
23
- The following files in the spec were taken from the original Ruby Sass project which
24
- is copyright Hampton Catlin, Nathan Weizenbaum, and Chris Eppstein and under
25
- the same license.
data/ext/libsass/Makefile DELETED
@@ -1,351 +0,0 @@
1
- OS ?= $(shell uname -s)
2
- CC ?= gcc
3
- CXX ?= g++
4
- RM ?= rm -f
5
- CP ?= cp -a
6
- MKDIR ?= mkdir
7
- RMDIR ?= rmdir
8
- WINDRES ?= windres
9
- # Solaris/Illumos flavors
10
- # ginstall from coreutils
11
- ifeq ($(OS),SunOS)
12
- INSTALL ?= ginstall
13
- endif
14
- INSTALL ?= install
15
- CFLAGS ?= -Wall
16
- CXXFLAGS ?= -Wall
17
- LDFLAGS ?= -Wall
18
- ifeq "x$(COVERAGE)" "x"
19
- CFLAGS += -O2
20
- CXXFLAGS += -O2
21
- LDFLAGS += -O2
22
- else
23
- CFLAGS += -O1 -fno-omit-frame-pointer
24
- CXXFLAGS += -O1 -fno-omit-frame-pointer
25
- LDFLAGS += -O1 -fno-omit-frame-pointer
26
- endif
27
- LDFLAGS += -Wl,-undefined,error
28
- CAT ?= $(if $(filter $(OS),Windows_NT),type,cat)
29
-
30
- ifneq (,$(findstring /cygdrive/,$(PATH)))
31
- UNAME := Cygwin
32
- else
33
- ifneq (,$(findstring Windows_NT,$(OS)))
34
- UNAME := Windows
35
- else
36
- ifneq (,$(findstring mingw32,$(MAKE)))
37
- UNAME := Windows
38
- else
39
- ifneq (,$(findstring MINGW32,$(shell uname -s)))
40
- UNAME = Windows
41
- else
42
- UNAME := $(shell uname -s)
43
- endif
44
- endif
45
- endif
46
- endif
47
-
48
- ifeq ($(SASS_LIBSASS_PATH),)
49
- SASS_LIBSASS_PATH = $(abspath $(CURDIR))
50
- endif
51
-
52
- ifeq ($(LIBSASS_VERSION),)
53
- ifneq ($(wildcard ./.git/ ),)
54
- LIBSASS_VERSION ?= $(shell git describe --abbrev=4 --dirty --always --tags)
55
- endif
56
- endif
57
-
58
- ifeq ($(LIBSASS_VERSION),)
59
- ifneq ($(wildcard VERSION),)
60
- LIBSASS_VERSION ?= $(shell $(CAT) VERSION)
61
- endif
62
- endif
63
-
64
- ifneq ($(LIBSASS_VERSION),)
65
- CFLAGS += -DLIBSASS_VERSION="\"$(LIBSASS_VERSION)\""
66
- CXXFLAGS += -DLIBSASS_VERSION="\"$(LIBSASS_VERSION)\""
67
- endif
68
-
69
- # enable mandatory flag
70
- ifeq (Windows,$(UNAME))
71
- ifneq ($(BUILD),shared)
72
- STATIC_ALL ?= 1
73
- endif
74
- STATIC_LIBGCC ?= 1
75
- STATIC_LIBSTDCPP ?= 1
76
- CXXFLAGS += -std=gnu++0x
77
- LDFLAGS += -std=gnu++0x
78
- else
79
- STATIC_ALL ?= 0
80
- STATIC_LIBGCC ?= 0
81
- STATIC_LIBSTDCPP ?= 0
82
- CXXFLAGS += -std=c++0x
83
- LDFLAGS += -std=c++0x
84
- endif
85
-
86
- ifneq ($(SASS_LIBSASS_PATH),)
87
- CFLAGS += -I $(SASS_LIBSASS_PATH)/include
88
- CXXFLAGS += -I $(SASS_LIBSASS_PATH)/include
89
- else
90
- # this is needed for mingw
91
- CFLAGS += -I include
92
- CXXFLAGS += -I include
93
- endif
94
-
95
- ifneq ($(EXTRA_CFLAGS),)
96
- CFLAGS += $(EXTRA_CFLAGS)
97
- endif
98
- ifneq ($(EXTRA_CXXFLAGS),)
99
- CXXFLAGS += $(EXTRA_CXXFLAGS)
100
- endif
101
- ifneq ($(EXTRA_LDFLAGS),)
102
- LDFLAGS += $(EXTRA_LDFLAGS)
103
- endif
104
-
105
- LDLIBS = -lm
106
-
107
- ifneq ($(BUILD),shared)
108
- LDLIBS += -lstdc++
109
- endif
110
-
111
- # link statically into lib
112
- # makes it a lot more portable
113
- # increases size by about 50KB
114
- ifeq ($(STATIC_ALL),1)
115
- LDFLAGS += -static
116
- endif
117
- ifeq ($(STATIC_LIBGCC),1)
118
- LDFLAGS += -static-libgcc
119
- endif
120
- ifeq ($(STATIC_LIBSTDCPP),1)
121
- LDFLAGS += -static-libstdc++
122
- endif
123
-
124
- ifeq ($(UNAME),Darwin)
125
- CFLAGS += -stdlib=libc++
126
- CXXFLAGS += -stdlib=libc++
127
- LDFLAGS += -stdlib=libc++
128
- endif
129
-
130
- ifneq (Windows,$(UNAME))
131
- ifneq (FreeBSD,$(UNAME))
132
- ifneq (OpenBSD,$(UNAME))
133
- LDFLAGS += -ldl
134
- LDLIBS += -ldl
135
- endif
136
- endif
137
- endif
138
-
139
- ifneq ($(BUILD),shared)
140
- BUILD := static
141
- endif
142
- ifeq ($(DEBUG),1)
143
- BUILD := debug-$(BUILD)
144
- endif
145
-
146
- ifeq (,$(TRAVIS_BUILD_DIR))
147
- ifeq ($(OS),SunOS)
148
- PREFIX ?= /opt/local
149
- else
150
- PREFIX ?= /usr/local
151
- endif
152
- else
153
- PREFIX ?= $(TRAVIS_BUILD_DIR)
154
- endif
155
-
156
-
157
- SASS_SASSC_PATH ?= sassc
158
- SASS_SPEC_PATH ?= sass-spec
159
- SASS_SPEC_SPEC_DIR ?= spec
160
- SASSC_BIN = $(SASS_SASSC_PATH)/bin/sassc
161
- RUBY_BIN = ruby
162
-
163
- LIB_STATIC = $(SASS_LIBSASS_PATH)/lib/libsass.a
164
- LIB_SHARED = $(SASS_LIBSASS_PATH)/lib/libsass.so
165
-
166
- ifeq (Windows,$(UNAME))
167
- ifeq (shared,$(BUILD))
168
- CFLAGS += -D ADD_EXPORTS
169
- CXXFLAGS += -D ADD_EXPORTS
170
- LIB_SHARED = $(SASS_LIBSASS_PATH)/lib/libsass.dll
171
- endif
172
- else
173
- ifneq (Cygwin,$(UNAME))
174
- CFLAGS += -fPIC
175
- CXXFLAGS += -fPIC
176
- LDFLAGS += -fPIC
177
- endif
178
- endif
179
-
180
- ifeq (Windows,$(UNAME))
181
- SASSC_BIN = $(SASS_SASSC_PATH)/bin/sassc.exe
182
- endif
183
-
184
- include Makefile.conf
185
-
186
- RESOURCES =
187
- STATICLIB = lib/libsass.a
188
- SHAREDLIB = lib/libsass.so
189
- ifeq (Windows,$(UNAME))
190
- RESOURCES += res/resource.rc
191
- SHAREDLIB = lib/libsass.dll
192
- ifeq (shared,$(BUILD))
193
- CFLAGS += -D ADD_EXPORTS
194
- CXXFLAGS += -D ADD_EXPORTS
195
- endif
196
- else
197
- ifneq (Cygwin,$(UNAME))
198
- CFLAGS += -fPIC
199
- CXXFLAGS += -fPIC
200
- LDFLAGS += -fPIC
201
- endif
202
- endif
203
-
204
- OBJECTS = $(addprefix src/,$(SOURCES:.cpp=.o))
205
- COBJECTS = $(addprefix src/,$(CSOURCES:.c=.o))
206
- RCOBJECTS = $(RESOURCES:.rc=.o)
207
-
208
- DEBUG_LVL ?= NONE
209
-
210
- CLEANUPS ?=
211
- CLEANUPS += $(RCOBJECTS)
212
- CLEANUPS += $(COBJECTS)
213
- CLEANUPS += $(OBJECTS)
214
- CLEANUPS += $(LIBSASS_LIB)
215
-
216
- all: $(BUILD)
217
-
218
- debug: $(BUILD)
219
-
220
- debug-static: LDFLAGS := -g $(filter-out -O2,$(LDFLAGS))
221
- debug-static: CFLAGS := -g -DDEBUG -DDEBUG_LVL="$(DEBUG_LVL)" $(filter-out -O2,$(CFLAGS))
222
- debug-static: CXXFLAGS := -g -DDEBUG -DDEBUG_LVL="$(DEBUG_LVL)" $(filter-out -O2,$(CXXFLAGS))
223
- debug-static: static
224
-
225
- debug-shared: LDFLAGS := -g $(filter-out -O2,$(LDFLAGS))
226
- debug-shared: CFLAGS := -g -DDEBUG -DDEBUG_LVL="$(DEBUG_LVL)" $(filter-out -O2,$(CFLAGS))
227
- debug-shared: CXXFLAGS := -g -DDEBUG -DDEBUG_LVL="$(DEBUG_LVL)" $(filter-out -O2,$(CXXFLAGS))
228
- debug-shared: shared
229
-
230
- lib:
231
- $(MKDIR) lib
232
-
233
- lib/libsass.a: lib $(COBJECTS) $(OBJECTS)
234
- $(AR) rcvs $@ $(COBJECTS) $(OBJECTS)
235
-
236
- lib/libsass.so: lib $(COBJECTS) $(OBJECTS)
237
- $(CXX) -shared $(LDFLAGS) -o $@ $(COBJECTS) $(OBJECTS) $(LDLIBS)
238
-
239
- lib/libsass.dll: lib $(COBJECTS) $(OBJECTS) $(RCOBJECTS)
240
- $(CXX) -shared $(LDFLAGS) -o $@ $(COBJECTS) $(OBJECTS) $(RCOBJECTS) $(LDLIBS) -s -Wl,--subsystem,windows,--out-implib,lib/libsass.a
241
-
242
- %.o: %.c
243
- $(CC) $(CFLAGS) -c -o $@ $<
244
-
245
- %.o: %.rc
246
- $(WINDRES) -i $< -o $@
247
-
248
- %.o: %.cpp
249
- $(CXX) $(CXXFLAGS) -c -o $@ $<
250
-
251
- %: %.o static
252
- $(CXX) $(CXXFLAGS) -o $@ $+ $(LDFLAGS) $(LDLIBS)
253
-
254
- install: install-$(BUILD)
255
-
256
- static: $(STATICLIB)
257
- shared: $(SHAREDLIB)
258
-
259
- $(DESTDIR)$(PREFIX):
260
- $(MKDIR) $(DESTDIR)$(PREFIX)
261
-
262
- $(DESTDIR)$(PREFIX)/lib: $(DESTDIR)$(PREFIX)
263
- $(MKDIR) $(DESTDIR)$(PREFIX)/lib
264
-
265
- $(DESTDIR)$(PREFIX)/include: $(DESTDIR)$(PREFIX)
266
- $(MKDIR) $(DESTDIR)$(PREFIX)/include
267
-
268
- $(DESTDIR)$(PREFIX)/include/sass: $(DESTDIR)$(PREFIX)/include
269
- $(MKDIR) $(DESTDIR)$(PREFIX)/include/sass
270
-
271
- $(DESTDIR)$(PREFIX)/include/%.h: include/%.h \
272
- $(DESTDIR)$(PREFIX)/include \
273
- $(DESTDIR)$(PREFIX)/include/sass
274
- $(INSTALL) -v -m0644 "$<" "$@"
275
-
276
- install-headers: $(DESTDIR)$(PREFIX)/include/sass.h \
277
- $(DESTDIR)$(PREFIX)/include/sass2scss.h \
278
- $(DESTDIR)$(PREFIX)/include/sass/base.h \
279
- $(DESTDIR)$(PREFIX)/include/sass/version.h \
280
- $(DESTDIR)$(PREFIX)/include/sass/values.h \
281
- $(DESTDIR)$(PREFIX)/include/sass/context.h \
282
- $(DESTDIR)$(PREFIX)/include/sass/functions.h
283
-
284
- $(DESTDIR)$(PREFIX)/lib/%.a: lib/%.a \
285
- $(DESTDIR)$(PREFIX)/lib
286
- @$(INSTALL) -v -m0755 "$<" "$@"
287
-
288
- $(DESTDIR)$(PREFIX)/lib/%.so: lib/%.so \
289
- $(DESTDIR)$(PREFIX)/lib
290
- @$(INSTALL) -v -m0755 "$<" "$@"
291
-
292
- $(DESTDIR)$(PREFIX)/lib/%.dll: lib/%.dll \
293
- $(DESTDIR)$(PREFIX)/lib
294
- @$(INSTALL) -v -m0755 "$<" "$@"
295
-
296
- install-static: $(DESTDIR)$(PREFIX)/lib/libsass.a
297
-
298
- install-shared: $(DESTDIR)$(PREFIX)/lib/libsass.so \
299
- install-headers
300
-
301
- $(SASSC_BIN): $(BUILD)
302
- $(MAKE) -C $(SASS_SASSC_PATH) build-$(BUILD)-dev
303
-
304
- sassc: $(SASSC_BIN)
305
- $(SASSC_BIN) -v
306
-
307
- version: $(SASSC_BIN)
308
- $(SASSC_BIN) -h
309
- $(SASSC_BIN) -v
310
-
311
- test: $(SASSC_BIN)
312
- $(RUBY_BIN) $(SASS_SPEC_PATH)/sass-spec.rb -V 3.5 -c $(SASSC_BIN) --impl libsass $(LOG_FLAGS) $(SASS_SPEC_PATH)/$(SASS_SPEC_SPEC_DIR)
313
-
314
- test_build: $(SASSC_BIN)
315
- $(RUBY_BIN) $(SASS_SPEC_PATH)/sass-spec.rb -V 3.5 -c $(SASSC_BIN) --impl libsass $(LOG_FLAGS) $(SASS_SPEC_PATH)/$(SASS_SPEC_SPEC_DIR)
316
-
317
- test_full: $(SASSC_BIN)
318
- $(RUBY_BIN) $(SASS_SPEC_PATH)/sass-spec.rb -V 3.5 -c $(SASSC_BIN) --impl libsass --run-todo $(LOG_FLAGS) $(SASS_SPEC_PATH)/$(SASS_SPEC_SPEC_DIR)
319
-
320
- test_probe: $(SASSC_BIN)
321
- $(RUBY_BIN) $(SASS_SPEC_PATH)/sass-spec.rb -V 3.5 -c $(SASSC_BIN) --impl libsass --probe-todo $(LOG_FLAGS) $(SASS_SPEC_PATH)/$(SASS_SPEC_SPEC_DIR)
322
-
323
- clean-objects: lib
324
- -$(RM) lib/*.a lib/*.so lib/*.dll lib/*.la
325
- -$(RMDIR) lib
326
- clean: clean-objects
327
- $(RM) $(CLEANUPS)
328
-
329
- clean-all:
330
- $(MAKE) -C $(SASS_SASSC_PATH) clean
331
-
332
- lib-file: lib-file-$(BUILD)
333
- lib-opts: lib-opts-$(BUILD)
334
-
335
- lib-file-static:
336
- @echo $(LIB_STATIC)
337
- lib-file-shared:
338
- @echo $(LIB_SHARED)
339
- lib-opts-static:
340
- @echo -L"$(SASS_LIBSASS_PATH)/lib"
341
- lib-opts-shared:
342
- @echo -L"$(SASS_LIBSASS_PATH)/lib -lsass"
343
-
344
- .PHONY: all static shared sassc \
345
- version install-headers \
346
- clean clean-all clean-objects \
347
- debug debug-static debug-shared \
348
- install install-static install-shared \
349
- lib-opts lib-opts-shared lib-opts-static \
350
- lib-file lib-file-shared lib-file-static
351
- .DELETE_ON_ERROR: