This repository was archived by the owner on Nov 1, 2024. It is now read-only.
File tree 1 file changed +8
-23
lines changed 1 file changed +8
-23
lines changed Original file line number Diff line number Diff line change 1
- csslib in Pure Dart
2
- ===================
1
+ CSS parser library for Dart
2
+ ==========================
3
3
4
- This is a CSS parser written entirely in [ Dart] [ dart ] .
4
+ This is a [ CSS] ( https://developer.mozilla.org/en-US/docs/Web/CSS ) parser written entirely in [ Dart] [ dart ] .
5
5
It can be used in the client/server/command line.
6
6
7
7
This package is installed with [ Pub] [ pub ] , see:
@@ -29,30 +29,15 @@ You can pass a String or list of bytes to `parse`.
29
29
Running Tests
30
30
-------------
31
31
32
- All tests (both canary and suite) should be passing. Canary are quick test
33
- verifies that basic CSS is working. The suite tests are a comprehensive set of
34
- ~ 11,000 tests.
35
-
36
- ``` bash
37
- export DART_SDK=path/to/dart/sdk
38
-
39
- # Make sure dependencies are installed
40
- pub install
41
-
42
- # Run command both canary and the suite tests
43
- test/run.sh
44
- ```
45
-
46
- Run only the canary test:
47
-
32
+ Basic tests can be found in this repository:
48
33
``` bash
49
- test/ run.sh canary
34
+ pub run test
50
35
```
51
36
52
- Run only the suite tests:
53
-
37
+ The full CSS test suite can be found in https://github.com/dart-lang/csslib-test-suite
54
38
``` bash
55
- test/run.sh suite
39
+ cd ../csslib-test-suite
40
+ ./run.sh
56
41
```
57
42
58
43
[ dart ] : http://www.dartlang.org/
You can’t perform that action at this time.
0 commit comments