diff --git a/.github/labeler.yml b/.github/labeler.yml index 6f4752d79..9b16974e0 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,4 @@ -# This configures the .github/workflows/pull_request_label.yml workflow. +# This configures the .github/workflows/pull_request_label.yml workflow. 'type-infra': - '.github/**' @@ -6,5 +6,8 @@ 'package:c_compiler': - pkgs/c_compiler/**/* +'package:native_assets_builder': + - pkgs/native_assets_builder/**/* + 'package:native_assets_cli': - pkgs/native_assets_cli/**/* diff --git a/.github/workflows/dart.yaml b/.github/workflows/dart.yaml index 1c2f7c306..466b8c1e2 100644 --- a/.github/workflows/dart.yaml +++ b/.github/workflows/dart.yaml @@ -21,7 +21,7 @@ jobs: matrix: os: [ubuntu, macos, windows] sdk: [stable, dev] - package: [c_compiler, native_assets_cli] + package: [c_compiler, native_assets_builder, native_assets_cli] exclude: # Only run analyze against dev on one host. - os: macos @@ -49,8 +49,25 @@ jobs: - run: dart pub get - - run: dart pub get - working-directory: pkgs/native_assets_cli/example/native_add/ + - run: dart pub get -C test/data/dart_app/ + if: ${{ matrix.package == 'native_assets_builder' }} + + - run: dart pub get -C test/data/native_add/ + if: ${{ matrix.package == 'native_assets_builder' }} + + - run: dart pub get -C test/data/native_add_add_source/ + if: ${{ matrix.package == 'native_assets_builder' }} + + - run: dart pub get -C test/data/native_subtract/ + if: ${{ matrix.package == 'native_assets_builder' }} + + - run: dart pub get -C test/data/package_reading_metadata/ + if: ${{ matrix.package == 'native_assets_builder' }} + + - run: dart pub get -C test/data/package_with_metadata/ + if: ${{ matrix.package == 'native_assets_builder' }} + + - run: dart pub get -C example/native_add/ if: ${{ matrix.package == 'native_assets_cli' }} - run: dart analyze --fatal-infos diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 000000000..846e4a156 --- /dev/null +++ b/AUTHORS @@ -0,0 +1,6 @@ +# Below is a list of people and organizations that have contributed +# to the Dart project. Names should be added to the list like so: +# +# Name/Organization + +Google LLC diff --git a/README.md b/README.md index 7a6054384..b4f1a3927 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ bundling. | -------------------------------------------- | ------------------------------------------------------------------------------------------- | ------- | | [c_compiler](pkgs/c_compiler/) | A library to invoke the native C compiler installed on the host machine. | | | [native_assets_cli](pkgs/native_assets_cli/) | A library that contains the argument and file formats for implementing a native assets CLI. | | +| [native_assets_builder](pkgs/native_assets_builder/) | A library that contains the logic for building native assets. This should not be used by users, and is used as shared implementation between dartdev and flutter_tools. | |