Skip to content

Conversation

kevmoo
Copy link
Member

@kevmoo kevmoo commented Mar 16, 2018

No description provided.

@kevmoo kevmoo requested a review from nshahan March 16, 2018 20:10
@kevmoo kevmoo force-pushed the fixes branch 3 times, most recently from d1f5a81 to cfe2534 Compare March 17, 2018 00:01
@kevmoo
Copy link
Member Author

kevmoo commented Mar 17, 2018

@natebosch @nshahan – this is a good start, I think – PTAL

var exitPort = new ReceivePort();
await Isolate.spawnUri(await _buildRunnerScript(), arguments, null,
onExit: exitPort.sendPort, automaticPackageResolution: true);
await exitPort.first;
Copy link
Member

Choose a reason for hiding this comment

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

As an FYI this isn't guaranteed to fire.
See all the extra handling we have for exception cases: https://github.com/dart-lang/build/blob/0c77443dd74edda706e89189c5ccfb70b06a22d1/build_runner/bin/build_runner.dart#L58-L85

Copy link
Member Author

Choose a reason for hiding this comment

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

There oughta be a helper...

Copy link
Member Author

Choose a reason for hiding this comment

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

Can be a todo? File an issue?

Copy link
Member

Choose a reason for hiding this comment

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

yes there should :)

I still haven't made up my mind whether I want a specific helper in build_runner or whether this we should make a more user friendly API around isolates in package:io

@kevmoo
Copy link
Member Author

kevmoo commented Mar 19, 2018 via email

dev_dependencies:
test: "^0.12.0"
executables:
webdev:
Copy link
Member

Choose a reason for hiding this comment

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

just to confirm - we don't plan on publishing this until we've implemented the upper bound version check on build_runner right?

Copy link
Contributor

Choose a reason for hiding this comment

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

I agree, not ready to publish until we have locked down the validation parts to make sure people don't get a rough introduction.

Copy link
Member Author

Choose a reason for hiding this comment

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

ack

@kevmoo
Copy link
Member Author

kevmoo commented Mar 19, 2018 via email

Copy link
Contributor

@nshahan nshahan left a comment

Choose a reason for hiding this comment

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

A few comments but otherwise LGTM

dev_dependencies:
test: "^0.12.0"
executables:
webdev:
Copy link
Contributor

Choose a reason for hiding this comment

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

I agree, not ready to publish until we have locked down the validation parts to make sure people don't get a rough introduction.

sdk: ">=2.0.0-dev.32.0 <2.0.0"

dependencies:
angular: ^5.0.0-alpha+3
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we bump to alpha+8?

Copy link
Member Author

Choose a reason for hiding this comment

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

uh...sure

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.

3 participants