Re: shell script in deployment builds
Re: shell script in deployment builds
- Subject: Re: shell script in deployment builds
- From: Nick Zitzmann <email@hidden>
- Date: Sun, 15 Aug 2004 11:52:12 -0600
On Aug 15, 2004, at 9:01 AM, Matt Neuburg wrote:
Clearly *you* think what I was doing was a deployment build, and *I*
think
what I was doing was a deployment build, but Xcode does *not* think it
was a
deployment build (or at least this checkbox does not think so), since
the
shell script did not run. Therefore I am wondering what this checkbox
thinks
*is* a deployment build.
FWIW, I've never been able to get that check box to work in any version
of Xcode, or Project Builder before it. I think you'd be better off by
writing something like this into your shell script, assuming you're
using Bash: (warning - written in Mail, untested, use at your own risk)
if [ "${BUILD_STYLE}" = "Deployment" ]; then
# do stuff that will be done in a Deployment build...
fi
I keep forgetting to file a bug report about this...
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
"They [our enemies] never stop thinking about new ways to harm our
country and our people, and neither do we. We must never stop thinking
about how best to offend our country." - George W. Bush (August 5,
2004)
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.