mirror of
https://github.com/expo/eas-cli.git
synced 2026-11-15 17:31:46 -10:00
Hook parsing in native builds runs between READ_PACKAGE_JSON and INSTALL_DEPENDENCIES and logged through the phase-less logger, so every native build with hooks showed an "Unknown build phase" log group. Ignore unknown and unrun hook keys silently in both the native and the steps parser, let the eas/checkout step print the working-directory line itself, and drop the after-hook failure line that the failing hook step already logs.
@expo/steps
TBD
Examples
If you want to run config examples from the examples directory, e.g. examples/simple, follow the steps:
- Run
yarnandyarn buildin the root of the monorepo. - Add
alias eas-steps="/REPLACE/WITH/PATH/TO/eas-cli/packages/steps/cli.sh"to your .zshrc/.bashrc/etc. - cd into examples/simple and run
eas-steps config.yml project [darwin|linux]. The first argument is the config file, and the second is the default working directory for the config file. The third argument is the platform for which you want to simulate running a custom build, it defaults to the platform of the device on which the CLI is currently being run.
Example project
See the example project using custom builds at https://github.com/expo/eas-custom-builds-example.