dart-sass/tool/grind.dart
Natalie Weizenbaum f1ce6ea599 Format all code.
2016-08-30 15:51:23 -07:00

16 lines
417 B
Dart

// Copyright 2016 Google Inc. Use of this source code is governed by an
// MIT-style license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT.
import 'package:grinder/grinder.dart';
main(args) => grind(args);
@DefaultTask()
format() {
Pub.run('dart_style',
script: 'format',
arguments: ['--overwrite']
..addAll(existingSourceDirs.map((dir) => dir.path)));
}