2023-12-08 22:40:12 +03:00
|
|
|
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
|
|
|
|
|
2024-01-12 18:05:51 +03:00
|
|
|
# `build-ci` not present in v6
|
|
|
|
- run: BUILD_CMD="build-ci"
|
|
|
|
if: <6
|
|
|
|
- run: BUILD_CMD="build"
|
|
|
|
if: '>=6'
|
|
|
|
|
|
|
|
- run: yarn $BUILD_CMD
|
2023-12-08 22:40:12 +03:00
|
|
|
working-directory: packages/eas-json/
|
|
|
|
|
2024-01-12 18:05:51 +03:00
|
|
|
- yarn $BUILD_CMD
|
2023-12-08 22:40:12 +03:00
|
|
|
- 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
|