Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nit] AFAIK the ** here isn't doing anything that * wouldn't.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recursive? I'll just keep it for now.

Copy link
Contributor

@natebosch natebosch Nov 3, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think recursive only applies when its is followed by a /

test/**/*_test.dart would do recursive directories any file ending in _test.dart.

At least this is the case in bash which package:glob is modeled after - I'm not sure correct the implementation is.