Use cli_pkg to deploy to GitHub

This commit is contained in:
Natalie Weizenbaum 2019-10-29 17:21:52 -07:00
parent 6ccc5c3892
commit 2b11aa1c21
2 changed files with 9 additions and 1 deletions

View File

@ -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}

View File

@ -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<String> args) => grind(args);
main(List<String> args) {
pkg.addGithubTasks();
grind(args);
}
@Task('Compile the protocol buffer definition to a Dart library.')
protobuf() async {