Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add transformer tests #12

Merged
merged 1 commit into from
Jan 28, 2016
Merged

add transformer tests #12

merged 1 commit into from
Jan 28, 2016

Conversation

jakemac53
Copy link
Contributor

closes #2

@jakemac53 jakemac53 added this to the v0.1.0 release milestone Jan 28, 2016
@jakemac53
Copy link
Contributor Author

cc @munificent @nex3 @kevmoo

@@ -14,7 +14,11 @@ import '../asset/writer.dart';
import '../builder/builder.dart';
import '../builder/build_step_impl.dart';

abstract class BuilderTransformer implements Transformer, DeclaringTransformer {
/// A [Transformer] which runs multiple [Builder]s. Extend this class and define

Choose a reason for hiding this comment

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

uber nit: line break after the first sentence here, per Effective Dart

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@@ -14,7 +14,12 @@ import '../asset/writer.dart';
import '../builder/builder.dart';
import '../builder/build_step_impl.dart';

abstract class BuilderTransformer implements Transformer, DeclaringTransformer {
/// A [Transformer] which runs multiple [Builder]s.
/// Extend this class and define the [builders] getter to create a [Transformer]

Choose a reason for hiding this comment

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

I still think we should be explicit about our (lack of) ordering guarantees here, maybe just as simple as "there are no guarantees about the order in which [Builder]s will be run."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@kegluneq
Copy link

LGTM!

@jakemac53 jakemac53 merged commit 6f59037 into master Jan 28, 2016
@jakemac53 jakemac53 deleted the transformer-test branch January 28, 2016 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Write a transformer wrapper to run in pub serve/build
2 participants