grinder 0.9.2 icon indicating copy to clipboard operation
grinder: ^0.9.2 copied to clipboard

SDKDart

Grinder is a task runner for Dart, helping to define and automate common project workflows.

example/grinder.dart

// Copyright 2015 Google. All rights reserved. Use of this source code is
// governed by a BSD-style license that can be found in the LICENSE file.

import 'package:grinder/grinder.dart';

Future<dynamic> main(args) => grind(args);

@Task('Initialize stuff.')
void init() {
  log('Initializing stuff...');
}

@Task('Compile stuff.')
@Depends(init)
void compile() {
  log('Compiling stuff...');
}

@DefaultTask('Deploy stuff.')
@Depends(compile)
void deploy() {
  log('Deploying stuff...');
}
82
likes
110
pub points
92%
popularity

Publisher

unverified uploader

Grinder is a task runner for Dart, helping to define and automate common project workflows.

Homepage

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

cli_util, collection, glob, meta, path

More

Packages that depend on grinder