Open
Description
dart run will automatically do pub-get and compile and run, which is nice and similar to cargo-run or go-run.
dart compile exe -- needs to specify entry point and needs a separate pub-get step, tedious, but fine.
since dart-run respects pubspec.yaml and does what it needs to do, can we add dart build
that also respects pubspec.yaml and auto builds some default output, e.g. exe, or multiple output, e.g. exe and aot, whatever is the most popular ones as the defaults?
this way the dart toolchain is also very consistent with others, e.g. rust and golang as mentioned above.
Thanks.