blob: efac28df2820842e9ea80660967a74ba0261bdf4 [file] [log] [blame]
#!/usr/bin/env dart
// Copyright (c) 2016, 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.
/// A straightforward script that builds the SDK.
/// This would be easy enough to do in a shell script, as we go through the
/// command line interface. But being able to build from a Dart library means
/// we can call this during code coverage to get more realistic numbers.
import 'dart:io';
import 'package:dev_compiler/src/analyzer/command.dart';
main(List<String> arguments) {
var args = ['--no-source-map', '--no-emit-metadata'];
var result = compile(args);