Skip to content

Commit

Permalink
[maker-zip] remove packagingDirectory after make
Browse files Browse the repository at this point in the history
  • Loading branch information
lijy91 committed Sep 17, 2022
1 parent f315bd8 commit f25e28f
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 45 deletions.
2 changes: 1 addition & 1 deletion README-ZH.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
- [dmg](./packages/flutter_app_packager/lib/src/makers/dmg/) - 为你的应用创建一个 `dmg` 包。
- [exe](./packages/flutter_app_packager/lib/src/makers/exe/) - 为你的应用创建一个 `exe` 包。
- [ipa](./packages/flutter_app_packager/lib/src/makers/ipa/) - 为你的应用创建一个 `ipa` 包。
- [zip](./packages/flutter_app_packager/lib/src/makers/zip/) - 为你的应用创建一个 `zip` 包。
- [msix](./packages/flutter_app_packager/lib/src/makers/msix/) - 为你的应用创建一个 `msix` 包。
- [zip](./packages/flutter_app_packager/lib/src/makers/zip/) - 为你的应用创建一个 `zip` 包。

### 发布器

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ The full documentation can be found on [distributor.leanflutter.org](https://dis
- [dmg](./packages/flutter_app_packager/lib/src/makers/dmg/) - Create a `dmg` package for your app.
- [exe](./packages/flutter_app_packager/lib/src/makers/exe/) - Create a `exe` package for your app.
- [ipa](./packages/flutter_app_packager/lib/src/makers/ipa/) - Create a `ipa` package for your app.
- [zip](./packages/flutter_app_packager/lib/src/makers/zip/) - Create a `zip` package for your app.
- [msix](./packages/flutter_app_packager/lib/src/makers/msix/) - Create a `msix` package for your app.
- [zip](./packages/flutter_app_packager/lib/src/makers/zip/) - Create a `zip` package for your app.

### Publishers

Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_app_packager/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.6

* [maker-zip] remove packagingDirectory after make

## 0.2.5

* Use `shell_executor` to execute commands
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ class AppPackageMakerZip extends AppPackageMaker {
filename: makeConfig.outputFile.path,
followLinks: true,
);

packagingDirectory.deleteSync(recursive: true);

return MakeResult(makeConfig);
}
}
27 changes: 10 additions & 17 deletions packages/flutter_app_packager/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,7 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "2.3.1"
checked_yaml:
dependency: transitive
description:
Expand Down Expand Up @@ -63,7 +56,7 @@ packages:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.4.0"
version: "4.6.0"
liquid_engine:
dependency: "direct main"
description:
Expand All @@ -77,7 +70,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
version: "1.8.0"
mustache_template:
dependency: transitive
description:
Expand All @@ -91,21 +84,21 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.8.2"
pub_semver:
dependency: transitive
description:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.1.1"
pubspec_parse:
dependency: transitive
description:
name: pubspec_parse
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.2.1"
shell_executor:
dependency: "direct main"
description:
Expand All @@ -119,21 +112,21 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.9.1"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.1.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.2.1"
typed_data:
dependency: transitive
description:
Expand All @@ -147,6 +140,6 @@ packages:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
version: "3.1.1"
sdks:
dart: ">=2.14.0 <3.0.0"
2 changes: 1 addition & 1 deletion packages/flutter_app_packager/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_app_packager
description: Package your Flutter app into OS-specific bundles (.dmg, .exe, etc.) via Dart or the command line.
version: 0.2.5
version: 0.2.6
homepage: https://github.com/leanflutter/flutter_distributor

environment:
Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_distributor/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.6

* [maker-zip] remove packagingDirectory after make

## 0.2.5

* Use `shell_executor` to execute commands
Expand Down
39 changes: 16 additions & 23 deletions packages/flutter_distributor/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,14 @@ packages:
name: archive
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.6"
version: "3.3.1"
args:
dependency: "direct main"
description:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
version: "2.3.1"
checked_yaml:
dependency: transitive
description:
Expand All @@ -77,14 +70,14 @@ packages:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.1"
version: "3.0.2"
dio:
dependency: "direct main"
description:
name: dio
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.4"
version: "4.0.6"
flutter_app_builder:
dependency: "direct main"
description:
Expand All @@ -98,7 +91,7 @@ packages:
path: "../flutter_app_packager"
relative: true
source: path
version: "0.2.5"
version: "0.2.6"
flutter_app_publisher:
dependency: "direct main"
description:
Expand All @@ -112,7 +105,7 @@ packages:
name: http_parser
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.0"
version: "4.0.1"
io:
dependency: transitive
description:
Expand All @@ -126,7 +119,7 @@ packages:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.4.0"
version: "4.6.0"
liquid_engine:
dependency: transitive
description:
Expand All @@ -147,7 +140,7 @@ packages:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
version: "1.8.0"
mustache_template:
dependency: transitive
description:
Expand All @@ -168,7 +161,7 @@ packages:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.8.2"
petitparser:
dependency: transitive
description:
Expand All @@ -182,14 +175,14 @@ packages:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0"
version: "2.1.1"
pubspec_parse:
dependency: "direct main"
description:
name: pubspec_parse
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.2.1"
qiniu_sdk_base:
dependency: transitive
description:
Expand Down Expand Up @@ -217,28 +210,28 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.1"
version: "1.9.1"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
version: "1.1.1"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
version: "1.2.1"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
version: "1.3.1"
xml:
dependency: transitive
description:
Expand All @@ -252,6 +245,6 @@ packages:
name: yaml
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
version: "3.1.1"
sdks:
dart: ">=2.16.0 <3.0.0"
4 changes: 2 additions & 2 deletions packages/flutter_distributor/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_distributor
description: A complete tool for packaging and publishing your Flutter apps.
version: 0.2.5
version: 0.2.6
homepage: https://github.com/leanflutter/flutter_distributor

platforms:
Expand All @@ -19,7 +19,7 @@ dependencies:
args: ^2.2.0
dio: ^4.0.4
flutter_app_builder: ^0.2.5
flutter_app_packager: ^0.2.5
flutter_app_packager: ^0.2.6
flutter_app_publisher: ^0.2.5
logging: ^1.0.2
path: ^1.8.1
Expand Down

0 comments on commit f25e28f

Please sign in to comment.