Skip to content

Commit 4939882

Browse files
authored
[native_assets_cli] v0.4.0 (#886)
1 parent 97f62aa commit 4939882

File tree

4 files changed

+22
-4
lines changed

4 files changed

+22
-4
lines changed

pkgs/native_assets_cli/CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
## 0.4.0-wip
1+
## 0.4.0
22

33
- Added [example/use_dart_api/](example/use_dart_api/) detailing how to use
44
`dart_api_dl.h` from the Dart SDK in native code.
55
- **Breaking change** Moved code not used in `build.dart` to
66
`package:native_assets_builder`.
77

8-
98
## 0.3.2
109

1110
- Fixed an issue where `Depenendencies.dependencies` could not be

pkgs/native_assets_cli/lib/native_assets_cli.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// BSD-style license that can be found in the LICENSE file.
44

55
/// A library that contains the argument and file formats for implementing a
6-
/// native assets CLI.
6+
/// native assets CLI, e.g. a `build.dart` script.
77
library native_assets_cli;
88

99
export 'src/model/asset.dart';
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
2+
// for details. All rights reserved. Use of this source code is governed by a
3+
// BSD-style license that can be found in the LICENSE file.
4+
5+
/// This library should not be used by `build.dart` scripts.
6+
///
7+
/// Only `package:native_assets_builder` should use this.
8+
library native_assets_cli;
9+
10+
export 'src/model/asset.dart';
11+
export 'src/model/build_config.dart';
12+
export 'src/model/build_mode.dart';
13+
export 'src/model/build_output.dart';
14+
export 'src/model/dependencies.dart';
15+
export 'src/model/ios_sdk.dart';
16+
export 'src/model/link_mode.dart';
17+
export 'src/model/link_mode_preference.dart';
18+
export 'src/model/metadata.dart';
19+
export 'src/model/target.dart';

pkgs/native_assets_cli/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: >-
44
native assets CLI.
55
66
# Note: Bump BuildConfig.version and BuildOutput.version on breaking changes!
7-
version: 0.4.0-wip
7+
version: 0.4.0
88
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli
99

1010
topics:

0 commit comments

Comments
 (0)