mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
94bfb65cff
commit
f7088489c4
|
@ -1,31 +0,0 @@
|
|||
distributable:
|
||||
url: https://github.com/ArionThinker/tea-package-builder/archive/refs/tags/{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: ArionThinker/tea-package-builder
|
||||
|
||||
entrypoint: bin/tea-package-builder
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
nodejs.org: '>=14'
|
||||
npmjs.com: '*'
|
||||
git-scm.org: ^2
|
||||
script:
|
||||
- npm install
|
||||
- npm run package
|
||||
- mkdir -p {{prefix}}/bin
|
||||
- run: |
|
||||
mkdir -p {{prefix}}/Applications
|
||||
mv out/tea-package-builder-{{hw.platform}}-*/tea-package-builder.app {{prefix}}/Applications
|
||||
cp props/tea-package-builder {{prefix}}/bin
|
||||
if: darwin
|
||||
- run: mv out/tea-package-builder-{{hw.platform}}-*/tea-package-builder {{prefix}}/bin
|
||||
if: linux
|
||||
|
||||
provides:
|
||||
- bin/tea-package-builder
|
||||
|
||||
test:
|
||||
- tea-package-builder --version
|
|
@ -1,10 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
d="$(cd "$(dirname "$0")/../Applications" && pwd)"
|
||||
|
||||
if test "$1" = "--version"; then
|
||||
basename "$(dirname "$d")"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
open "$d"/tea-package-builder.app
|
Loading…
Reference in a new issue