commit | 4a30db15891b3cfaca627d57f7079d7b7f0b7587 | [log] [tgz] |
---|---|---|
author | Gabriel Kerneis <kerneis@google.com> | Fri Jan 18 16:36:26 2019 +0100 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Fri Jan 18 21:16:38 2019 +0000 |
tree | 7b34373f154071ae6ec68a742eecf117005815c2 | |
parent | c7733f0342bafa2f031492df2141316daa3e78fd [diff] |
[fx] Do not split --flag=option after a -- separator This is necessary for `fx run-test foo -- --gtest_filter=Foo.*` to work correctly. Otherwise, the command invokes: run_test_component fuchsia-pkg://foo --gtest_filter Foo.* and gtest cannot parse the split parameter. Tested: fx run-test Change-Id: I161bd54ae914c9d5190287f31f9caf55ea3c817e
This repository is for scripts useful when hacking on Fuchsia. This repository should contain scripts that perform tasks spanning multiple repositories. Scripts that only operate within a single repository should live in the relevant repository.
The push-package.py script pushes the files listed in the given manifests files. No checking is performed for incremental changes.
The sample command lines below can be used to build Modular and then push those files to the default device. This assumes you have already booted your device with a version of Fuchsia that contains the most recent version of all other packages. This command line uses the “system_manifest” file from each of the modular directories, such as modular, modular_dev, and modular_tests.
cd $FUCHSIA_DIR fx build peridot:modular_all scripts/push-package.py out/debug-x64/package/modular*/system_manifest
fx publish
will take a package from the build and create a Fuchsia package manager package from a build package. It will then add the package to a local update respository which, by default, is put at ${FUCHSIA_BUILD_DIR}/amber-files
. It will also add the package content files to the update repository and name these file after their Merkle Root. If a package name is supplied to fx publish
, only that package will be processed. If no name is supplied, all the packages made by the build will be included.