bazel
bazel copied to clipboard
Avoid downloading DART SDK and use the local installed
Dart SDK is being downloaded again and again for each project. Apart of the waste of bandwidth and disk space it is not natural for an user to have one SDK used to run pub run dazel build that's not potentially the same used for the actual build.
We all know about hermetic issues but can't this be avoided with some option on pub run dazel init ?
Blocked on https://github.com/dart-lang/rules_dart/issues/57
It's possible today to use a local SDK, however if you do so you can expect to hit compatibility errors if your SDK is not the same version as rules_dart expects.
Make sure you are on dazel 0.3.4 and use pub run dazel init --locak-sdk="/path/to/sdk"
k, tnx!