pantry/projects/appium.io/package.yml

36 lines
770 B
YAML
Raw Permalink Normal View History

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:
2023-12-11 21:10:22 +03:00
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
2024-06-06 21:20:26 +03:00
# required but not added
- run: EXTRA_PACKAGES="@appium/logger"
if: '>=2.7'
- npm install . $EXTRA_PACKAGES
--global
--prefix="{{prefix}}"
--install-links
provides:
- bin/appium
2024-06-06 21:20:26 +03:00
test:
- appium --version | grep {{version}}
- appium driver install uiautomator2