2023-11-07 00:50:28 +03:00
|
|
|
distributable:
|
|
|
|
url: https://registry.npmjs.org/snaplet/-/snaplet-{{version}}.tgz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
url: https://www.npmjs.com/package/snaplet?activeTab=versions
|
|
|
|
match: /v\/\d+\.\d+\.\d+/
|
|
|
|
strip:
|
|
|
|
- /^v\//
|
|
|
|
|
|
|
|
dependencies:
|
2023-11-27 18:19:06 +03:00
|
|
|
nodejs.org: ^10.13.0 || ^12 || ^14 || ^16 || ^18 || ^20
|
2023-11-07 00:50:28 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2023-11-27 18:19:06 +03:00
|
|
|
npmjs.com: '*'
|
|
|
|
linux/x86-64:
|
|
|
|
python.org: ^3 # node-gyp needs python to build
|
2023-11-07 00:50:28 +03:00
|
|
|
script:
|
|
|
|
- chmod +x bin/snaplet.js
|
|
|
|
- npm install .
|
|
|
|
--global
|
|
|
|
--prefix="{{prefix}}"
|
|
|
|
--install-links
|
2024-06-09 00:19:56 +03:00
|
|
|
env:
|
|
|
|
linux:
|
|
|
|
CC: clang
|
|
|
|
CXX: clang++
|
|
|
|
LD: clang
|
2023-11-07 00:50:28 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/snaplet
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- snaplet -v | grep {{version}}
|
|
|
|
- snaplet config list
|