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.180 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.179 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.178 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.177 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.176 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.175 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.174 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.173 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.172 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.171 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.170 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.169 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.167 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.166 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.165 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.164 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.163 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.162 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.161 tracks/dart/bin/check_formatting.dart
trackler-2.2.1.160 tracks/dart/bin/check_formatting.dart