• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Run Script build phase to call genstrings only for Release config
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run Script build phase to call genstrings only for Release config


  • Subject: Re: Run Script build phase to call genstrings only for Release config
  • From: David Masover <email@hidden>
  • Date: Wed, 19 Jul 2006 00:36:26 -0500

Aaron Montgomery wrote:
if [ "${CONFIGURATION}" = 'Release' ]; then
    #blah blah blah
fi

I'm sure it's just a nitpick, but here I'd do if [ $CONFIGURATION != 'Release' ]; then exit fi

That way, if the entire script is only intended to run on release, this avoids indenting the entire script or worrying about the closing fi.

Bash is way more powerful than it gets credit for, and I can safely say I wouldn't be using OS X at all without it.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
References: 
 >Run Script build phase to call genstrings only for Release config (From: David Sinclair <email@hidden>)
 >Re: Run Script build phase to call genstrings only for Release config (From: Aaron Montgomery <email@hidden>)

  • Prev by Date: Re: Run Script build phase to call genstrings only for Release config
  • Next by Date: Visual compiling, nodes programming ?
  • Previous by thread: Re: Run Script build phase to call genstrings only for Release config
  • Next by thread: Visual compiling, nodes programming ?
  • Index(es):
    • Date
    • Thread