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

Do you want to commit to GitHub, publish to pub-web.flutter-io.cn and HomeBrew with one simple command? Use this package.

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-web.flutter-io.cn/packages complete.');
  log('commit of brew tap complete');
}
2
likes
140
pub points
44%
popularity

Publisher

verified publishermuayid.com

Do you want to commit to GitHub, publish to pub-web.flutter-io.cn and HomeBrew with one simple command? Use this package.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

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

More

Packages that depend on publish_tools