build_flx.dart 800 Bytes
Newer Older
1 2 3 4 5 6
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

import 'dart:async';

7
import '../globals.dart';
8
import '../runner/flutter_command.dart' show FlutterCommandResult;
9
import 'build.dart';
10

11
class BuildFlxCommand extends BuildSubCommand {
12 13 14 15
  @override
  final String name = 'flx';

  @override
16
  final String description = 'Deprecated';
17 18

  @override
19
  final String usageFooter = 'FLX archives are deprecated.';
20 21

  @override
22
  Future<FlutterCommandResult> runCommand() async {
23 24 25
    printError("'build flx' is no longer supported. Instead, use 'build "
               "bundle' to build and assemble the application code and resources "
               'for your app.');
26
    return null;
27 28
  }
}