publish_tools 1.0.0+10 copy "publish_tools: ^1.0.0+10" to clipboard
publish_tools: ^1.0.0+10 copied to clipboard

A set of tasks the enhance the pub.dev publishing experience. With a single command push to GitHub, pub.dev and even Homebrew.

example/example.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
160
pub points
41%
popularity

Publisher

verified publishermuayid.com

A set of tasks the enhance the pub.dev publishing experience. With a single command push to GitHub, pub.dev and even Homebrew.

Repository (GitHub)
View/report issues

Documentation

API reference

Funding

Consider supporting this project:

www.buymeacoffee.com

License

MIT (license)

Dependencies

crypto, git, github, grinder, http, json_annotation, mustache_template, path, pubspec_parse, recase, yaml

More

Packages that depend on publish_tools