pantry/projects/appium.io/package.yml
Jacob Heider 79467df354 fix(appium)
closes #6349
2024-06-06 14:27:54 -04:00

36 lines
770 B
YAML

distributable:
url: https://registry.npmjs.org/appium/-/appium-{{version}}.tgz
strip-components: 1
versions:
url: https://npmjs.com/package/appium?activeTab=versions
match: /v\/\d+\.\d+\.\d+/
strip:
- /^v\//
dependencies:
npmjs.com: '*'
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^20
openjdk.org: '*'
build:
dependencies:
linux/x86-64:
python.org: ^3 # node-gyp needs python to build
script:
- chmod +x lib/appium.js
# required but not added
- run: EXTRA_PACKAGES="@appium/logger"
if: '>=2.7'
- npm install . $EXTRA_PACKAGES
--global
--prefix="{{prefix}}"
--install-links
provides:
- bin/appium
test:
- appium --version | grep {{version}}
- appium driver install uiautomator2