Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 5048887

Browse files
authored
Only support 2.0.0-dev. (#158)
1 parent 0ba9335 commit 5048887

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,17 @@ cache:
55
directories:
66
- $HOME/.pub-cache
77

8-
# TODO: Use chrome in --headless mode once supported by pub run test.
98
dist: trusty
109
addons:
1110
chrome: stable
1211

1312
branches:
1413
only: [master]
1514

16-
# Check for analysis issues, run the test cases, and ensure `dartfmt` is run.
15+
# TODO: Give up the dream of running with dartdevc until...
16+
# https://github.com/dart-lang/sdk/issues/31280
17+
1718
dart_task:
1819
- test: --platform vm
1920
- dartanalyzer
2021
- dartfmt
21-
22-
# TODO: Test with dartdevc once https://github.com/dart-lang/sdk/issues/30810.

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## 2.1.0
22

3+
We now require the Dart 2.0-dev branch SDK (`>= 2.0.0-dev`).
4+
35
* Added support for raw `String` literals.
46
* Automatically escapes single quotes in now-raw `String` literals.
57
* Deprecated `File`, which is now a redirect to the preferred class, `Library`.

pubspec.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@ author: Dart Team <[email protected]>
55
homepage: https://github.com/dart-lang/code_builder
66

77
environment:
8-
sdk: '>=1.24.0 <2.0.0'
8+
sdk: '>=2.0.0-dev <2.0.0'
9+
10+
web:
11+
compiler:
12+
debug: dartdevc
913

1014
dependencies:
1115
built_collection: ^1.0.0
@@ -19,3 +23,7 @@ dev_dependencies:
1923
built_value_generator: '>=2.0.0 <5.0.0'
2024
source_gen: '^0.7.0'
2125
test: ^0.12.0
26+
27+
transformers:
28+
- test/pub_serve:
29+
$include: test/**_test.dart

0 commit comments

Comments
 (0)