Skip to content

Commit

Permalink
[native_assets_cli] Fix dartdoc generation (#947)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcharkes authored Jan 22, 2024
1 parent 9322da7 commit d6e6935
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pkgs/native_assets_cli/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ coverage/
*.dylib
*.exe
*.so

# Dartdoc dir
doc/
4 changes: 4 additions & 0 deletions pkgs/native_assets_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.4.2

- Fix dartdoc generation. Hide the implementation details.

## 0.4.1

- **Breaking change** Removed all code not used in `build.dart` scripts out of
Expand Down
3 changes: 3 additions & 0 deletions pkgs/native_assets_cli/dartdoc_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dartdoc:
nodoc:
- 'lib/native_assets_cli_internal.dart'
2 changes: 1 addition & 1 deletion pkgs/native_assets_cli/lib/native_assets_cli_internal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/// This library should not be used by `build.dart` scripts.
///
/// Only `package:native_assets_builder` should use this.
library native_assets_cli;
library native_assets_cli_internal;

export 'src/model/asset.dart';
export 'src/model/build_config.dart';
Expand Down
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.1
version: 0.4.2
repository: https://github.com/dart-lang/native/tree/main/pkgs/native_assets_cli

topics:
Expand Down

0 comments on commit d6e6935

Please sign in to comment.