grinder 0.9.5 copy "grinder: ^0.9.5" to clipboard
grinder: ^0.9.5 copied to clipboard

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...');
}
117
likes
150
pub points
95%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cli_util, collection, glob, meta, path

More

Packages that depend on grinder