Files
sdk/pkg/dev_compiler/tool/compile_dartdevc_sdk.dart
Nicholas Shahan b4d5272d99 [ddc] Move command.dart library
From: lib/src/kernel/command.dart
To: lib/src/command/command.dart

This is a step towards organizing the code from shared_command.dart and
eventually deleting it.

Change-Id: I1ca9fcfd3d7d74511957d516c01544f4a68e4e89
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/388050
Reviewed-by: Nate Biggs <natebiggs@google.com>
Reviewed-by: Mark Zhou <markzipan@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2024-10-08 00:47:01 +00:00

18 lines
553 B
Dart

#!/usr/bin/env dart
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
/// Tool that consumes the .dill file of an entire dart-sdk and produces the
/// corresponding JavaScript module.
library;
import 'dart:io';
import 'package:dev_compiler/src/command/command.dart';
void main(List<String> args) async {
var result = await compileSdkFromDill(args);
exitCode = result.exitCode;
}