Skip to content

Commit e4c4bd6

Browse files
authored
[native_assets_cli] Refactor into BuildInput (#1871)
This PR changes the public API according to #1738, and should have minimal behavior changes. Everything in `HookConfig` causes a different `input.outputDirectory`, all the other elements in the `input` do not. * This leads to the `packageName` no longer influencing the checksum, so the default output directory has been changed to `.dart_tool/native_assets_builder/$packageName/$checksum`. Follow up PRs: * Serialize to a new JSON format * get rid of cCompiler envScript Design: * #1738
1 parent d9bb34c commit e4c4bd6

File tree

128 files changed

+1783
-1647
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+1783
-1647
lines changed

pkgs/native_assets_builder/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## 0.10.3-wip
1+
## 0.11.0-wip
22

3-
- Nothing yet.
3+
- Bump `package:native_assets_cli` to 0.11.0.
44

55
## 0.10.2
66

pkgs/native_assets_builder/lib/native_assets_builder.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
export 'package:native_assets_builder/src/build_runner/build_runner.dart'
66
show
77
ApplicationAssetValidator,
8-
BuildConfigCreator,
9-
BuildConfigValidator,
8+
BuildInputCreator,
9+
BuildInputValidator,
1010
BuildValidator,
11-
LinkConfigCreator,
12-
LinkConfigValidator,
11+
LinkInputCreator,
12+
LinkInputValidator,
1313
LinkValidator,
1414
NativeAssetsBuildRunner;
1515
export 'package:native_assets_builder/src/model/build_result.dart';

0 commit comments

Comments
 (0)