2024-02-05 00:24:09 +03:00
|
|
|
distributable:
|
|
|
|
url: https://registry.npmjs.org/@bitwarden/cli/-/cli-{{version}}.tgz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
|
|
|
npm: '@bitwarden/cli'
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
nodejs.org: ^20
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
npmjs.com: '*'
|
2024-02-07 23:46:13 +03:00
|
|
|
linux/x86-64:
|
|
|
|
python.org: ^3 # needed to build some native modules
|
2024-02-05 00:24:09 +03:00
|
|
|
script:
|
|
|
|
- npm i husky
|
|
|
|
- git init
|
|
|
|
- npm i $ARGS .
|
|
|
|
- run: ln -s ../libexec/bin/bw bw
|
|
|
|
working-directory: ${{prefix}}/bin
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- -ddd
|
|
|
|
- --global
|
|
|
|
- --build-from-source
|
|
|
|
- --prefix={{prefix}}/libexec
|
|
|
|
- --install-links
|
|
|
|
- --unsafe-perm
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/bw
|
|
|
|
|
|
|
|
test:
|
|
|
|
- bw generate --length 10
|
|
|
|
- echo "Testing" | bw encode | grep 'VGVzdGluZw'
|
|
|
|
- bw --version | grep {{version}}
|