Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
Only support 2.0.0-dev. (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
matanlurey authored Nov 3, 2017
1 parent 0ba9335 commit 5048887
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ cache:
directories:
- $HOME/.pub-cache

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

branches:
only: [master]

# Check for analysis issues, run the test cases, and ensure `dartfmt` is run.
# TODO: Give up the dream of running with dartdevc until...
# https://github.com/dart-lang/sdk/issues/31280

dart_task:
- test: --platform vm
- dartanalyzer
- dartfmt

# TODO: Test with dartdevc once https://github.com/dart-lang/sdk/issues/30810.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## 2.1.0

We now require the Dart 2.0-dev branch SDK (`>= 2.0.0-dev`).

* Added support for raw `String` literals.
* Automatically escapes single quotes in now-raw `String` literals.
* Deprecated `File`, which is now a redirect to the preferred class, `Library`.
Expand Down
10 changes: 9 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ author: Dart Team <misc@dartlang.org>
homepage: https://github.com/dart-lang/code_builder

environment:
sdk: '>=1.24.0 <2.0.0'
sdk: '>=2.0.0-dev <2.0.0'

web:
compiler:
debug: dartdevc

dependencies:
built_collection: ^1.0.0
Expand All @@ -19,3 +23,7 @@ dev_dependencies:
built_value_generator: '>=2.0.0 <5.0.0'
source_gen: '^0.7.0'
test: ^0.12.0

transformers:
- test/pub_serve:
$include: test/**_test.dart

0 comments on commit 5048887

Please sign in to comment.