pantry/projects/snaplet.dev/cli/package.yml
Jacob Heider 56506c3804 fix(snaplet)
closes #6272
2024-06-08 17:31:39 -04:00

38 lines
718 B
YAML

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:
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 bin/snaplet.js
- npm install .
--global
--prefix="{{prefix}}"
--install-links
env:
linux:
CC: clang
CXX: clang++
LD: clang
provides:
- bin/snaplet
test:
script:
- snaplet -v | grep {{version}}
- snaplet config list