2
0

exit genassets before anything useful happens - this type of debugging is really lame. You suck, Travis.

This commit is contained in:
Maarten Billemont 2014-11-17 23:16:55 -05:00
parent 00033eca37
commit 834434a499

View File

@ -79,6 +79,7 @@ launchimage="$xcassets/LaunchImage.launchimage"
ios_icon=MasterPassword/Resources/Media/ios/icon ios_icon=MasterPassword/Resources/Media/ios/icon
ios_launch=MasterPassword/Resources/Media/ios/launch ios_launch=MasterPassword/Resources/Media/ios/launch
mac_icon=MasterPassword/Resources/Media/mac/icon mac_icon=MasterPassword/Resources/Media/mac/icon
exit
if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] || if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] ||
[[ "$(latest "$mac_icon"/*)" -nt "$appiconset/Contents.json" ]]; then [[ "$(latest "$mac_icon"/*)" -nt "$appiconset/Contents.json" ]]; then
@ -121,7 +122,6 @@ if [[ "$(latest "$ios_icon"/*)" -nt "$appiconset/Contents.json" ]] ||
printf '],"info":{"version":1,"author":"genassets"},"properties":{"pre-rendered":true}}\n' printf '],"info":{"version":1,"author":"genassets"},"properties":{"pre-rendered":true}}\n'
} > "$appiconset/Contents.json" } > "$appiconset/Contents.json"
fi fi
exit
if [[ "$(latest "$ios_launch"/*)" -nt "$launchimage/Contents.json" ]]; then if [[ "$(latest "$ios_launch"/*)" -nt "$launchimage/Contents.json" ]]; then
rm -rf "$launchimage"; mkdir -p "$launchimage" rm -rf "$launchimage"; mkdir -p "$launchimage"