Sha256: 3d27fe12962cea261c17ba96c2a1426aaa98ecfb2e63c7aeebfc1913307c25cb

Contents?: true

Size: 507 Bytes

Versions: 64

Compression:

Stored size: 507 Bytes

Contents

import 'dart:async';
import 'package:exercism_dart/src/utils.dart';

Future<Null> main() async {
  final CommonUtils utils = new CommonUtils();

  if (utils.fetchConfiglet() == 0) {
    print('Checking config.json formatting...');
    await utils.runCmdIfExecutable('bin/configlet', ['lint', '--track-id', 'dart', '.']);
  }

  print('Checking all Dart files formatting...');
  await utils.runCmd('pub', ['run', 'dart_style:format', '-l', '120', '-n', '.']);

  await utils.terminate();
  print('Done!');
}

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
trackler-2.2.1.119 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.118 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.117 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.116 tracks/dart/bin/check_formatting.dart