Skip to content

Commit

Permalink
[native_assets_cli] v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes committed Jan 11, 2024
1 parent d275ca6 commit 217b9a1
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pkgs/native_assets_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
## 0.4.0-wip
## 0.4.0

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


## 0.3.2

- Fixed an issue where `Depenendencies.dependencies` could not be
Expand Down
2 changes: 1 addition & 1 deletion pkgs/native_assets_cli/lib/native_assets_cli.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

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

export 'src/model/asset.dart';
Expand Down
19 changes: 19 additions & 0 deletions pkgs/native_assets_cli/lib/native_assets_cli_internal.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright (c) 2023, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

/// This library should not be used by `build.dart` scripts.
///
/// Only `package:native_assets_builder` should use this.
library native_assets_cli;

export 'src/model/asset.dart';
export 'src/model/build_config.dart';
export 'src/model/build_mode.dart';
export 'src/model/build_output.dart';
export 'src/model/dependencies.dart';
export 'src/model/ios_sdk.dart';
export 'src/model/link_mode.dart';
export 'src/model/link_mode_preference.dart';
export 'src/model/metadata.dart';
export 'src/model/target.dart';
2 changes: 1 addition & 1 deletion pkgs/native_assets_cli/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: >-
native assets CLI.
# Note: Bump BuildConfig.version and BuildOutput.version on breaking changes!
version: 0.4.0-wip
version: 0.4.0
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli

topics:
Expand Down

0 comments on commit 217b9a1

Please sign in to comment.