dmake 0.0.0

  • README.md
  • CHANGELOG.md
  • Example
  • Installing
  • Versions
  • 47

dmake #

Simple, flexible task engine in Dart.

In tool/all.dart:

import 'package:dmake/dmake.dart';
import 'package:dmake/dart.dart';

main(List<String> args) {
  make(args, () {
    all(glob('web/*.dart', recursive: false), dart2js);
  });
}

Then, run pub run dmake. Run pub run dmake --help for help.

You can also pub global activate dmake.

0.0.0 #

First version.

example/example.dart

import 'package:dmake/dmake.dart';
import 'package:dmake/dart.dart';

main(List<String> args) {
  make(args, () {
    // Run all web/ entrypoints through dart2js.
    all(glob('web/*.dart', recursive: false), dart2js);
  });
}

Use this package as an executable

1. Install it

You can install the package from the command line:


$ pub global activate dmake

2. Use it

The package has the following executables:


$ dmake

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dmake: ^0.0.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:dmake/dmake.dart';
  
Version Uploaded Documentation Archive
0.0.3 Oct 31, 2018 Go to the documentation of dmake 0.0.3 Download dmake 0.0.3 archive
0.0.2 Oct 31, 2018 Go to the documentation of dmake 0.0.2 Download dmake 0.0.2 archive
0.0.1 Oct 31, 2018 Go to the documentation of dmake 0.0.1 Download dmake 0.0.1 archive
0.0.0 Oct 30, 2018 Go to the documentation of dmake 0.0.0 Download dmake 0.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
96
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
47
Learn more about scoring.

We analyzed this package on May 8, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.3.0
  • pana: 0.12.15

Platforms

Detected platforms: Flutter, other

Primary library: package:dmake/dmake.dart with components: io.

Health issues and suggestions

Document public APIs. (-1 points)

21 out of 21 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix bin/dmake.dart. (-1 points)

Analysis of bin/dmake.dart reported 2 hints:

line 1 col 8: Unused import: 'dart:async'.

line 3 col 8: Unused import: 'dart:isolate'.

Fix lib/src/glob.dart. (-1 points)

Analysis of lib/src/glob.dart reported 2 hints:

line 6 col 40: Use = to separate a named parameter from its default value.

line 6 col 64: Use = to separate a named parameter from its default value.

Fix lib/src/process.dart. (-1 points)

Analysis of lib/src/process.dart reported 2 hints:

line 7 col 32: Use = to separate a named parameter from its default value.

line 9 col 36: Use = to separate a named parameter from its default value.

Format lib/src/build_graph.dart.

Run dartfmt to format lib/src/build_graph.dart.

Maintenance suggestions

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
args ^1.0.0 1.5.1
glob ^1.0.0 1.1.7
graphs ^0.1.2 0.1.3+1 0.2.0
io ^0.3.2 0.3.3
logging ^0.11.0 0.11.3+2
mime ^0.9.6 0.9.6+2
path ^1.0.0 1.6.2
Transitive dependencies
async 2.2.0
charcode 1.1.2
collection 1.14.11
meta 1.1.7
source_span 1.5.5
string_scanner 1.0.4
term_glyph 1.1.0