+github.com/everduin94/better-commits (#5166)

* feat(app): test

test

* modified:   projects/github.com/Everduin94/better-commits/package.yml

---------

Co-authored-by: Andrii Riabchenko <andrii@Mac-Mini.local>
This commit is contained in:
Andrew 2024-02-09 23:37:34 +02:00 committed by GitHub
parent f28ed39c3f
commit 3f8ee35c20
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,42 @@
distributable:
url: https://registry.npmjs.org/better-commits/-/better-commits-{{version}}.tgz
strip-components: 1
versions:
npm: better-commits
dependencies:
nodejs.org: ^20
build:
dependencies:
npmjs.com: ^10
script:
- npm i $ARGS .
- run: |
ln -s ../libexec/bin/bcommits bcommits
ln -s ../libexec/bin/better-branch better-branch
ln -s ../libexec/bin/better-commits better-commits
ln -s ../libexec/bin/better-commits-init better-commits-init
ln -s ../libexec/bin/git-bc git-bc
working-directory: '{{prefix}}/bin'
env:
ARGS:
- -ddd
- --global
- --build-from-source
- --prefix={{prefix}}/libexec
- --install-links
- --unsafe-perm
provides:
- bin/bcommits
- bin/better-branch
- bin/better-commits
- bin/better-commits-init
- bin/git-bc
test:
- git init
- better-commits-init
- cat .better-commits.json | grep 'A code change that neither fixes a bug nor adds a feature'