diff --git a/.DS_Store b/.DS_Store index c2e90e8..5d196f0 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/lib/src/commands/install.dart b/lib/src/commands/install.dart index 689e239..b75d8fa 100644 --- a/lib/src/commands/install.dart +++ b/lib/src/commands/install.dart @@ -47,7 +47,7 @@ class InstallCommand extends Command { @override run() async { if (argResults['wipe']) { - if (await installRepo.exists()) await installRepo.delete(); + if (await installRepo.exists()) await installRepo.delete(recursive: true); } else if (argResults['list']) { var addons = await list(); print('${addons.length} add-on(s) installed:'); diff --git a/lib/src/commands/pubspec.update.g.dart b/lib/src/commands/pubspec.update.g.dart index 52eefc0..07f8053 100644 --- a/lib/src/commands/pubspec.update.g.dart +++ b/lib/src/commands/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, 2, 0, build: '4'); +final Version PACKAGE_VERSION = new Version(1, 2, 0, build: '5'); Future fetchCurrentVersion(http.BaseClient client) async { var response = await client.get('https://pub.dartlang.org/api/packages/angel_cli'); diff --git a/pubspec.yaml b/pubspec.yaml index f06dd75..ca7b942 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: "Tobe O " description: "Command-line tools for the Angel framework." homepage: "https://github.com/angel-dart/angel_cli" name: "angel_cli" -version: 1.2.0+4 +version: 1.2.0+5 dependencies: # analyzer: "^0.29.0" args: ^0.13.4