publish_tools 0.1.0+9 copy "publish_tools: ^0.1.0+9" to clipboard
publish_tools: ^0.1.0+9 copied to clipboard

A package for making it easy to publishing Dart/Flutter packages and cli tools.

example/example.dart

import 'package:grinder/grinder.dart';
import 'package:publish_tools/publish_tools.dart';

// this code is normally placed in the [project]/tool folder
main(args) async {
  PublishTools.addAllTasks();

  grind(args);
}

@DefaultTask('task to run if none specified on the command line')
@Depends('pt-commit', 'pt-publish', 'pt-homebrew')
done() {
  log('commit of main project completed');
  log('publish to pub.dev/packages complete.');
  log('commit of brew tap complete');
}
2
likes
0
pub points
38%
popularity

Publisher

verified publishermuayid.com

A package for making it easy to publishing Dart/Flutter packages and cli tools.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

crypto, git, github, grinder, http, json_annotation, mustache_template, path, pubspec, recase, universal_io, yaml

More

Packages that depend on publish_tools