mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 18:25:08 +03:00
upgrade(create-dmg)
This commit is contained in:
parent
aa8279c103
commit
e1e606cfa6
1 changed files with 11 additions and 21 deletions
|
@ -6,30 +6,20 @@ versions:
|
|||
github: create-dmg/create-dmg/tags
|
||||
strip: /^v/
|
||||
|
||||
provides:
|
||||
linux: []
|
||||
darwin:
|
||||
- bin/create-dmg
|
||||
platform: darwin
|
||||
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
provides:
|
||||
- bin/create-dmg
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
if test "{{hw.platform}}" != "darwin"; then
|
||||
mkdir -p {{prefix}}
|
||||
echo "create-dmg is only supported on mac" >> {{prefix}}/mac-only
|
||||
exit 0
|
||||
fi
|
||||
make prefix={{prefix}} install
|
||||
script: make prefix={{prefix}} install
|
||||
test: |
|
||||
if test "{{hw.platform}}" = "darwin"; then
|
||||
create-dmg --version
|
||||
touch Brew-Eula.txt
|
||||
echo "Eula" >> Brew-Eula.txt
|
||||
mkdir -p Test-Source
|
||||
mkdir -p Test-Source/Brew.app
|
||||
create-dmg --sandbox-safe --eula Brew-Eula.txt Brew-Test.dmg Test-Source
|
||||
fi
|
Loading…
Reference in a new issue