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

Support running pub when it's not on the environment path #26

Merged
merged 2 commits into from
Apr 3, 2018

Conversation

kevmoo
Copy link
Member

@kevmoo kevmoo commented Apr 3, 2018

No description provided.

@kevmoo kevmoo requested a review from jakemac53 April 3, 2018 16:03
import 'package:pub_semver/pub_semver.dart';

final supportedBuildRunnerVersionRange = new VersionRange(
min: new Version(0, 8, 0),
includeMin: true,
max: new Version(0, 9, 0),
includeMax: false);

/// The path to the root directory of the SDK.
final String _sdkDir = (() {
Copy link
Contributor

Choose a reason for hiding this comment

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

should we be doing this instead of using cli_util?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not worth the dependency for a one-line method.

@alexander-doroshko
Copy link

alexander-doroshko commented Apr 3, 2018

You need to replace 'pub' with pubPath in pubspec.dart:41 as well :)

@alexander-doroshko
Copy link

Works fine for me now!

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