incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Reinstein <reinstein.m...@gmail.com>
Subject modifications to the cli tools to check for tool presence/versioning
Date Mon, 24 Sep 2012 13:24:36 GMT
Hey folks,

I'm wondering if it makes sense for us to add some checks to the various
command line tools to check for the presence of required tools, and also
check for proper versions. For example the debug script for ios has:

xcodebuild -project $PROJECT_NAME.xcodeproj -arch i386 -target
$PROJECT_NAME -configuration Debug -sdk $SDK clean build VALID_ARCHS="i386"
CONFIGURATION_BUILD_DIR="$PROJECT_PATH/build"

Do you think it's appropriate for us to add checks to see if xcodebuild is
even available, and if xcodebuild -version returns >= required_version
number?

This question came up as a result of work on the cordova-client project,
which wraps the lower level scripts that get packaged with each platform.
It seems like this should happen at the lower level, since it's already
encapsulating the build tools for each platform. Thoughts?

-Mike

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message