1.0.7
This commit is contained in:
parent
afca3b0752
commit
ac181b2242
4 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
1
lib/pubspec.dart
Normal file
1
lib/pubspec.dart
Normal file
|
@ -0,0 +1 @@
|
|||
export '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<Version> fetchCurrentVersion(http.BaseClient client) async {
|
||||
var response =
|
||||
await client.get('https://pub.dartlang.org/api/packages/angel_cli');
|
|
@ -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']));
|
||||
|
|
Loading…
Reference in a new issue