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

getSdkPath doesn't work when using the dart executable produced when building from source. #43

Open
sigurdm opened this issue Jul 21, 2020 · 0 comments

Comments

@sigurdm
Copy link
Contributor

sigurdm commented Jul 21, 2020

// test.dart
import 'package:cli_util/cli_util.dart';

main() {
  print(getSdkPath());
}
dart-sdk/sdk$ out/ReleaseX64/dart test.dart
/usr/local/google/home/sigurdm/projects/dart-sdk/sdk/out

That is not really a helpful directory.
I am not sure where the out/ReleaseX64/dart binary reads its corelibs from, but I think that should be the returned directory.

This might be a duplicate of: #38 - not 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

No branches or pull requests

1 participant