commit | 6f8575a4edfc59a0c43e297160d9e394eaa5482f | [log] [tgz] |
---|---|---|
author | Ian McKellar <ianloic@google.com> | Mon Oct 15 11:42:35 2018 -0700 |
committer | Ian McKellar <ianloic@google.com> | Mon Dec 03 10:29:56 2018 -0800 |
tree | 53d669f94a94d21d6207e283730bcf49b66b7647 | |
parent | df9c4caad84d1a06094aefba04846ae895a7f124 [diff] |
[fx] validate `fx use` arg Now `fx use` will check that there exists an `args.gn` in the directory indicated. Change-Id: I96194fdf2040d2c0cfa81c9d62256f596d3a090f
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.