Viewing version 0.0.5. Open the latest package page.

grinder

0.0.5

Grinder - a task based, dependency aware build system.

Download archive

Readme

Grinder

Grinder - a task based, dependency aware build system.

Intro

A library and tool to drive a command-line build.

Grinder build files are entirely specified in Dart code. This allows you to write and debug your build files with the same tools you use for the rest of your project source.

Generally, a Grinder implementation will look something like this:

void main() {
  defineTask('init', taskFunction: init);
  defineTask('compile', taskFunction: compile, depends: ['init']);
  defineTask('deploy', taskFunction: deploy, depends: ['compile']);
  defineTask('docs', taskFunction: deploy, depends: ['init']);
  defineTask('all', depends: ['deploy', 'docs']);

  startGrinder();
}

void init(GrinderContext context) {
  context.log("I set things up");
}

...

Tasks to run are specified on the command line. If a task has dependencies, those dependent tasks are run before the specified task.

Command-line usage

usage: dart grinder.dart <options> target1 target2 ...

valid options:
-h, --help    show targets but don't build
-d, --deps    display the dependencies of targets
Changelog

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add 'grinder:0.0.5'
pubspec.yaml
name: grinder
version: 0.0.5
author: Devon Carew <devoncarew@google.com>
description: Grinder - a task based, dependency aware build system.
homepage: https://github.com/google/grinder.dart
dependencies:
  args: any
dev_dependencies:
  unittest: any

Version history

VersionPublishedArchiveSHA-256
0.0.4Cached · Upstream SHA-256 matchedDownload9de8fb40…df8a9a
0.0.5Cached · Upstream SHA-256 matchedDownload11a861da…414220
0.0.6Cached · Upstream SHA-256 matchedDownload026d1bda…dc1cf7
0.0.7Cached · Upstream SHA-256 matchedDownload9aeeb1a6…62e0c8
0.1.0Cached · Upstream SHA-256 matchedDownload8dcdf8a3…41c1b0
0.4.0Cached · Upstream SHA-256 matchedDownload0506fa5a…c1cac6
0.4.1Cached · Upstream SHA-256 matchedDownloaddec74951…bbd082
0.4.2Cached · Upstream SHA-256 matchedDownloade0c8fde4…87f92b
0.4.3Cached · Upstream SHA-256 matchedDownload2bd14dd8…9d849d
0.4.4Cached · Upstream SHA-256 matchedDownload977e9974…8e8cfb
0.4.5Cached · Upstream SHA-256 matchedDownloadfec4fa7a…2702a1
0.5.0Cached · Upstream SHA-256 matchedDownload4e9e52c6…c17619
0.5.1Cached · Upstream SHA-256 matchedDownloadfde18f3e…b872ce
0.5.2Cached · Upstream SHA-256 matchedDownload86b75995…9a215a
0.5.3Cached · Upstream SHA-256 matchedDownload8063a366…934348
0.5.4Cached · Upstream SHA-256 matchedDownload2a06c90a…bb06cc
0.5.6Cached · Upstream SHA-256 matchedDownload0409881b…3bf2e5
0.5.7Cached · Upstream SHA-256 matchedDownload297ac833…1b9fe9
0.6.0Cached · Upstream SHA-256 matchedDownload2f3b345b…01dc58
0.6.1Cached · Upstream SHA-256 matchedDownload8e7d702d…9ed5fa
0.6.2Cached · Upstream SHA-256 matchedDownload56df3170…94ce90
0.6.3Cached · Upstream SHA-256 matchedDownload10a4a0db…461924
0.6.4Cached · Upstream SHA-256 matchedDownloade1c3f8ee…293705
0.6.4+1Cached · Upstream SHA-256 matchedDownload80d71af0…e4af3d
0.6.5Cached · Upstream SHA-256 matchedDownloadd45160a8…9faba7
0.6.6Cached · Upstream SHA-256 matchedDownload94bcfcbe…d34385
0.6.6+1Cached · Upstream SHA-256 matchedDownload1408c2e0…d5dfc8
0.6.6+2Cached · Upstream SHA-256 matchedDownload40a33d3a…6a638e
0.6.6+3Cached · Upstream SHA-256 matchedDownload29081f9c…daf0bf
0.7.0-dev.1Cached · Upstream SHA-256 matchedDownload66e4961a…97767c
0.7.0-dev.2Cached · Upstream SHA-256 matchedDownloadd1ef1ac6…f588ac
0.7.0Cached · Upstream SHA-256 matchedDownload0ed2a625…8569f6
0.7.1Cached · Upstream SHA-256 matchedDownload517a659e…147a66
0.7.1+1Cached · Upstream SHA-256 matchedDownload2f2363a4…657a72
0.7.1+2Cached · Upstream SHA-256 matchedDownload48203ae8…d619bb
0.7.1+3Cached · Upstream SHA-256 matchedDownload35450802…4ba96c
0.7.2Cached · Upstream SHA-256 matchedDownload4fa504d5…66229e
0.8.0-dev.1Cached · Upstream SHA-256 matchedDownload704fe8b8…5db868
0.8.0-dev.2Cached · Upstream SHA-256 matchedDownload91bb8f19…9ad2fc
0.8.0Cached · Upstream SHA-256 matchedDownloadb12b054b…4a03e5
0.8.0+1Cached · Upstream SHA-256 matchedDownload7714a971…00fbfc
0.8.0+2Cached · Upstream SHA-256 matchedDownload9b65c1fd…ee9c0f
0.8.0+3Cached · Upstream SHA-256 matchedDownload5dc15642…95cadf
0.8.1Cached · Upstream SHA-256 matchedDownload5b0b4425…e84f1d
0.8.2Cached · Upstream SHA-256 matchedDownload6636532c…bf91f7
0.8.3Cached · Upstream SHA-256 matchedDownload8284e19b…b13f0d
0.8.3+1Cached · Upstream SHA-256 matchedDownload9653d450…29d19f
0.8.4Cached · Upstream SHA-256 matchedDownloadfdc35bbe…318f2a
0.8.5Cached · Upstream SHA-256 matchedDownload7fd2bed3…442c9b
0.8.6Cached · Upstream SHA-256 matchedDownload29e92765…cb37f1
0.9.0-nullsafety.0Cached · Upstream SHA-256 matchedDownloadd6ddb4d1…8c8bfa
0.9.0Cached · Upstream SHA-256 matchedDownload2961d5bf…cf0fb9
0.9.1Cached · Upstream SHA-256 matchedDownload2e8c0186…60fb19
0.9.2Cached · Upstream SHA-256 matchedDownloadb24948a4…787b04
0.9.3Cached · Upstream SHA-256 matchedDownload1dabcd70…7c8d00
0.9.4Cached · Upstream SHA-256 matchedDownload48495acd…568b56
0.9.5Cached · Upstream SHA-256 matchedDownloade1996e48…1f6188
0.10.0Cached · Upstream SHA-256 matchedDownload8c65fc6c…45093f
0.10.1Cached · Upstream SHA-256 matchedDownload7e0969c3…9dc8f3
0.10.2Cached · Upstream SHA-256 matchedDownloadf8cf4d64…6d644a

Dependencies

args "any"