From 2b11aa1c218641135c2b747d22ad22bdcdec8cfd Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum Date: Tue, 29 Oct 2019 17:21:52 -0700 Subject: [PATCH] Use cli_pkg to deploy to GitHub --- pubspec.yaml | 4 ++++ tool/grind.dart | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index e46f0cee..f2c88702 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,11 @@ dependencies: stream_channel: ">=1.6.0 <3.0.0" dev_dependencies: + cli_pkg: ^1.0.0 grinder: ^0.8.0 protoc_plugin: ^19.0.0 path: ^1.6.0 test: ^1.0.0 + +dependency_overrides: + cli_pkg: {git: git://github.com/google/dart_cli_pkg} diff --git a/tool/grind.dart b/tool/grind.dart index 27795f05..6b15916d 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -4,11 +4,15 @@ import 'dart:io'; +import 'package:cli_pkg/cli_pkg.dart' as pkg; import 'package:grinder/grinder.dart'; import 'utils.dart'; -main(List args) => grind(args); +main(List args) { + pkg.addGithubTasks(); + grind(args); +} @Task('Compile the protocol buffer definition to a Dart library.') protobuf() async {