mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 09:55:06 +03:00
610c845f40
`build-ci` removed from `package.json`s in v6 closes #4822
46 lines
834 B
YAML
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
|