pantry/projects/appium.io/package.yml
Josh Phillips f38c3b4a82
add openjdk to appium deps (#4366)
* add openjdk to deps

it isn't needed for building but is needed for most operations of the package

* install android driver

* fix test
2023-12-12 13:39:28 -05:00

33 lines
665 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
- npm install .
--global
--prefix="{{prefix}}"
--install-links
provides:
- bin/appium
test:
- appium --version | grep {{version}}
- appium driver install uiautomator2