emb_cli 0.1.0
emb_cli: ^0.1.0 copied to clipboard
Flutter Embedder CLI: provision an embedded-Linux Flutter workspace and build ivi-homescreen bundles (cross-compiled AOT for arm64/riscv64).
0.1.0 #
Port of meta-flutter/workspace-automation to a Dart CLI.
- feat:
emb doctor— host detection + package-backend availability. - feat:
emb deps— coalesce host deps across manifests, filter, install in one PackageKit transaction (withWhatProvidesresolution). - feat:
emb sync— concurrent git clone/update intoapp/. - feat:
emb flutter— install the Flutter SDK (auto-resolves the engine commit). - feat:
emb engine— fetch prebuilt engine artifacts frommeta-flutter/flutter-enginereleases (auto fetch-else-build). - feat:
emb aot—create_aot.pyport producinglibapp.so(profile/release). - feat:
emb bundle— assemble an ivi-homescreen bundle (debug JIT / AOT), with implicit engine fetch and cross-compile (x86_64 → arm64/riscv64). - feat:
emb build— manifest-driven build (build:block) over an arch × mode matrix. - feat:
emb cross— resolve a manifestcross:block into a toolchain + sysroot profile: cross-compile the native embedder for arm64/riscv64 with rootless sysroot extraction and Debian.debhandling. - feat:
emb fetch— fetch a cross target's toolchain + sysroot closure into the store: the online acquisition step for an offline build. - feat:
emb matrix— render a CI build matrix from manifestcross:blocks. - feat:
emb cache— inspect and reclaim the shared artifact cache. - feat:
emb update— self-update the CLI. - feat:
emb setup— one-shot provision; emitssetup_env.sh. - feat:
emb env— writesetup_env.sh. - feat: install with
dart install(Dart 3.10+), or with zero preinstalled toolchain viabootstrap.sh/bootstrap.ps1, which fetch a pinned Dart SDK and putembonPATHin one step. - feat: carry native code assets through cross-compiled bundles — stage them
onto the loader path, build the Linux asset bundle, and accept
native_assets.jsonfor the kernel compile. - feat: depend on the published
packagekit_dart^0.3.2(hosted, not a path dependency). - feat: auto-resolve the PackageKit native bridge (
libpackagekit_nc.so) — from the package's own build or, for hosted installs, thepackage:hooksbuild-hook output under.dart_tool/— so the Linux backend works withoutPK_NC_LIB. - docs: full per-command reference (every option, default, and value set) in the
README; add
example/.
0.0.1 #
- feat: initial commit 🎉