publish_tools 1.0.0-dev.1 copy "publish_tools: ^1.0.0-dev.1" to clipboard
publish_tools: ^1.0.0-dev.1 copied to clipboard

Do you want to commit to GitHub, publish to pub.dev and HomeBrew with one simple command? Use this package.

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

Do you want to commit to GitHub, publish to pub.dev and HomeBrew with one simple command? Use this package.

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