From ac181b2242bcb20b2584d4f178d965c0b708bfb8 Mon Sep 17 00:00:00 2001 From: thosakwe Date: Fri, 24 Mar 2017 16:27:01 -0400 Subject: [PATCH] 1.0.7 --- bin/angel.dart | 2 +- lib/pubspec.dart | 1 + lib/{ => src}/pubspec.update.g.dart | 2 +- tool/phases.dart | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 lib/pubspec.dart rename lib/{ => src}/pubspec.update.g.dart (94%) diff --git a/bin/angel.dart b/bin/angel.dart index 8288adf..7ced0be 100644 --- a/bin/angel.dart +++ b/bin/angel.dart @@ -4,7 +4,7 @@ library demon.tool; import "dart:io"; import "package:args/command_runner.dart"; import 'package:angel_cli/angel_cli.dart'; -import 'package:angel_cli/pubspec.update.g.dart'; +import 'package:angel_cli/pubspec.dart'; import 'package:console/console.dart'; import 'package:http/http.dart' as http; diff --git a/lib/pubspec.dart b/lib/pubspec.dart new file mode 100644 index 0000000..874a4c7 --- /dev/null +++ b/lib/pubspec.dart @@ -0,0 +1 @@ +export 'src/pubspec.update.g.dart'; \ No newline at end of file diff --git a/lib/pubspec.update.g.dart b/lib/src/pubspec.update.g.dart similarity index 94% rename from lib/pubspec.update.g.dart rename to lib/src/pubspec.update.g.dart index b79370e..7ea21ba 100644 --- a/lib/pubspec.update.g.dart +++ b/lib/src/pubspec.update.g.dart @@ -3,7 +3,7 @@ import 'dart:convert'; import 'package:http/src/base_client.dart' as http; import 'package:pub_semver/pub_semver.dart'; -final Version PACKAGE_VERSION = new Version(1, 0, 6); +final Version PACKAGE_VERSION = new Version(1, 0, 7); Future fetchCurrentVersion(http.BaseClient client) async { var response = await client.get('https://pub.dartlang.org/api/packages/angel_cli'); diff --git a/tool/phases.dart b/tool/phases.dart index 1f5fbf6..9e82fe3 100644 --- a/tool/phases.dart +++ b/tool/phases.dart @@ -2,5 +2,5 @@ import 'package:build_runner/build_runner.dart'; import 'package:check_for_update/builder.dart'; final PhaseGroup phaseGroup = new PhaseGroup.singleAction( - new CheckForUpdateBuilder(subDirectory: 'lib'), + new CheckForUpdateBuilder(subDirectory: 'lib/src'), new InputSet('angel_cli', const ['pubspec.yaml']));