mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
New/appium.io/appium (#4358)
* initial try * use npmjs.org * finish version * remove space * fix url * fix test * make it global like other npm packages * 3-digit versions * require 3 digits * rename --------- Co-authored-by: Jacob Heider <jacob@pkgx.dev>
This commit is contained in:
parent
974f5a167b
commit
3e8ef1f2ab
1 changed files with 32 additions and 0 deletions
32
projects/appium.io/package.yml
Normal file
32
projects/appium.io/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
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:
|
||||
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^20
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
npmjs.com: '*'
|
||||
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:
|
||||
script:
|
||||
- appium --version | grep {{version}}
|
||||
|
Loading…
Reference in a new issue