mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
github.com/sindresorhus/macos-term-size (#2331)
* github.com/sindresorhus/macos-term-size * hmm... Will the compiled binary run? * codesign * check codesign --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
e5dc6ba1cc
commit
eca2a14988
1 changed files with 30 additions and 0 deletions
30
projects/github.com/sindresorhus/macos-term-size/package.yml
Normal file
30
projects/github.com/sindresorhus/macos-term-size/package.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/sindresorhus/macos-term-size/releases/download/v{{version}}/term-size.zip
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: sindresorhus/macos-term-size
|
||||||
|
|
||||||
|
platforms:
|
||||||
|
- darwin
|
||||||
|
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- mkdir -p {{prefix}}/bin
|
||||||
|
- run: |
|
||||||
|
CODESIGN="$(codesign -dvv term-size 2>&1)"
|
||||||
|
echo $CODESIGN | grep "Authority=$AUTHORITY"
|
||||||
|
echo $CODESIGN | grep "TeamIdentifier=$TEAMIDENTIFIER"
|
||||||
|
- install term-size {{prefix}}/bin
|
||||||
|
env:
|
||||||
|
AUTHORITY: "Developer ID Application: Node.js Foundation (HX7739G8FX)"
|
||||||
|
TEAMIDENTIFIER: HX7739G8FX
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/term-size
|
||||||
|
|
||||||
|
# FIXME: how do we test this?
|
||||||
|
test: ls -x {{prefix}}/bin/term-size | grep {{version}}
|
Loading…
Reference in a new issue