pantry/projects/expo.dev/eas-cli/package.yml
Jacob Heider 610c845f40 fix(eas-cli)
`build-ci` removed from `package.json`s in v6

closes #4822
2024-01-12 10:14:54 -05:00

46 lines
834 B
YAML

distributable:
url: https://github.com/expo/eas-cli/archive/refs/tags/v{{version.raw}}.tar.gz
strip-components: 1
display-name: eas
versions:
github: expo/eas-cli
dependencies:
nodejs.org: ~18
build:
dependencies:
python.org: ~3.10
classic.yarnpkg.com: '*'
linux:
gnu.org/gcc: '*'
script:
- mkdir -p "{{prefix}}"
- yarn install
# `build-ci` not present in v6
- run: BUILD_CMD="build-ci"
if: <6
- run: BUILD_CMD="build"
if: '>=6'
- run: yarn $BUILD_CMD
working-directory: packages/eas-json/
- yarn $BUILD_CMD
- cp -r * {{prefix}}
- run:
- ln -s ../packages/eas-cli/bin/run bin/eas
working-directory: ${{prefix}}
provides:
- bin/eas
test:
- eas
- eas --help
- eas --version | grep "{{version}}"
- eas autocomplete zsh