commit | 2e1215c3bd4c066958aa8de482131923ae8f155a | [log] [tgz] |
---|---|---|
author | Rich Kadel <richkadel@google.com> | Mon Jan 07 13:23:43 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Jan 07 23:59:54 2019 +0000 |
tree | 0df790810b1c2a3798d4f24d3663eaae392c1ec1 | |
parent | 077ad05a3f871fe3dee3ee77ed1cd111228eb8b5 [diff] |
Improved xcode-select check. Fixed typo ("xcode-select install" does not work. The command should be: "xcode-select --install".) Added logic to check for the need to install the xcode command line tools, and a new check for possible need to "switch" xcode-select to the command line tools. (CommandLineTools directory contains /usr/include and C++ header files, but the XCode application developer directory does not.) Added new info message to let the user know that their environment looks good, if there were no issues found. Change-Id: I37aab02d33145e34c51b87a3feca959324187fd7
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.