Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: How to conditionally run a script based on build configuration]




Am 27.06.2005 um 22:40 schrieb Jonas Maebe:

On 27 Jun 2005, at 22:34, Scott Tooker wrote:

Let me rephrase. We want to have one way of referencing a build setting in the future (in both build settings and scripts) to reduce confusion, what form that takes is a secondary issue that is not decided at this point. Obviously, choosing a more more familiar form for the referencing is preferable (as long as the chosen form doesn't imply behavior that is false or non-existent).

Well, since $() means something entirely different in shell scripts, I think ${} would be the most logical.

My vote for this, too. Having different brackets depending on wether Xcode or bash reads the variable would be really confusing.


On the other hand, I don't think it would hurt to leave $() valid in build settings (for backward compatibility reasons).

Even better: Since there is no change in functionality, Xcode could automatically "upgrade" to the new convention. Makes a nice application for text field validation ...



Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >[Fwd: How to conditionally run a script based on build configuration] (From: Allen Cronce <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Jonas Maebe <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Scott Tooker <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Jonas Maebe <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Scott Tooker <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Scott Tooker <email@hidden>)
 >Re: [Fwd: How to conditionally run a script based on build configuration] (From: Jonas Maebe <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.