Commit Graph

273 Commits

Author SHA1 Message Date
Natalie Weizenbaum
a003e5c31f Expose a Dart API for importers
Closes #172
2017-10-12 21:54:58 -07:00
Natalie Weizenbaum
164f532ea2 Remove unused arguments from cli_shared.dart (#181) 2017-10-12 12:03:57 -07:00
Sam Rawlins
97f678a770 Read Sass from stdin (#137)
See #105
2017-10-06 18:59:49 -07:00
Natalie Weizenbaum
10ef04bad6 Fix analysis hints 2017-07-14 18:51:55 -07:00
Natalie Weizenbaum
53a8c553de Add tests. 2017-07-14 16:29:53 -07:00
Natalie Weizenbaum
dfcbf78e7c Fully support the error value for the Node render() functions
Closes #109
2017-07-09 18:18:56 -07:00
Natalie Weizenbaum
c5bf54a41f Move exception-formatting logic into SassException
There was a bunch of custom formatting logic in the executable, which
made it difficult to work with exceptions programatically.
2017-07-09 18:18:56 -07:00
Natalie Weizenbaum
214a2af2e9 Fully support the return value for the Node render() functions (#165)
Closes #11
2017-07-09 14:52:14 -07:00
Natalie Weizenbaum
f1c23e7484 Rename "toCss" to "serialize"
This matches the filename and the name of the visitor.
2017-07-07 17:53:03 -07:00
Natalie Weizenbaum
970755d82e Rename "render" to "compile"
"Render" is a strange term for compilation that kind of got copied
over from Haml and endured due to inertia.
2017-07-07 17:53:03 -07:00
Natalie Weizenbaum
2ff46cb149 Support outputStyle in the JS API (#163)
Closes #8
2017-07-07 16:39:58 -07:00
Natalie Weizenbaum
74cb974455 Support includePaths in the JS API (#162)
Closes #7
2017-07-07 14:50:12 -07:00
Natalie Weizenbaum
f41df9f7bd Add support indentedSyntax to the JS API (#161)
Partially addresses #7
2017-07-07 01:40:15 -07:00
Natalie Weizenbaum
8f836df66c Add support for the data option to the JS API (#159)
Also add renderString to the Dart API.

Partially addresses #7
2017-07-07 00:57:10 -07:00
Natalie Weizenbaum
48ba0e2128 Manually determine the operating system for paths
Works around dart-lang/sdk#30098.
2017-07-06 23:52:43 -07:00
Natalie Weizenbaum
3b36c5a1fb Reformat. 2017-07-06 23:23:04 -07:00
Natalie Weizenbaum
6ed530c895 Test the Node.js API.
Closes #150
2017-07-06 17:39:07 -07:00
Natalie Weizenbaum
6c0f87f0c8 Factor out logic to ensure that the NPM package is compiled 2017-07-06 14:40:45 -07:00
Natalie Weizenbaum
4db551e603 Stop using scheduled_test. (#142) 2017-05-25 14:23:48 -07:00
Luis Vargas
cfc3a15041 Support package: URLs as a Dart library (#53) 2017-02-03 01:08:06 -08:00
Natalie Weizenbaum
8b6548fc61 Add more CLI tests. 2016-12-02 17:39:28 -08:00
Natalie Weizenbaum
e59a172609 Run CLI tests on Travis. 2016-12-02 16:58:23 -08:00
Natalie Weizenbaum
224d9cdb47 Add CLI test files for Dart and Node.
More tests will be added in a future commit.
2016-12-02 16:09:20 -08:00