From: Adam M. <ama...@us...> - 2005-11-16 23:42:43
|
Update of /cvsroot/bibdesk/bibdesk_vendorsrc/infinite_loop/ILCrashReporter/build_vars In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1281/ILCrashReporter/build_vars Added Files: Deployment.xcconfig Development.xcconfig DoBuild.sh GenBuildNumber.sh LinkComponents.sh LocalizeStrings.sh MakeDocumentation.sh build_number build_number.broch version_number Log Message: Add current ILCrashReporter sources to repository. Remove .xcode project file; otherwise no change from vendor distribution. --- NEW FILE: version_number --- 1.2.2 --- NEW FILE: build_number --- 41 --- NEW FILE: GenBuildNumber.sh --- #! /bin/sh # # GenBuildNumber INCREMENT=0 if [ $# -gt 0 ] ; then for option; do case "${option}" in -increment) INCREMENT=1; ;; esac; done; fi VAR_FILE="build_vars/build_number" VERS_FILE="build_vars/version_number" if [ "${BUILD_STYLE}" == "Development" ] ; then VAR_FILE="build_vars/build_number.$USER" else ocvs update $VAR_FILE fi # # Generate new build number # if [ ! -f $VAR_FILE ]; then echo 1 > $VAR_FILE else if [ $INCREMENT -gt 0 ] ; then expr `cat $VAR_FILE ` + 1 > build_number.new mv build_number.new $VAR_FILE fi fi if [ "${BUILD_STYLE}" == "Development" ] ; then echo "D"`cat $VAR_FILE` > build_number.temp else ocvs commit -F $VAR_FILE -f $VAR_FILE cp $VAR_FILE build_number.temp fi # # Replace placeholders in Info.plist # Note that Info.plist is not generated from scratch each build # echo "Build:" `cat build_number.temp` chmod 777 "${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH}" mv "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" temp.plist perl -spi -e s/#BUILD_NUMBER#/`cat build_number.temp `/ temp.plist perl -spi -e s/#VERSION_NUMBER#/`cat ${VERS_FILE} `/ temp.plist mv temp.plist "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}" rm build_number.temp chmod 555 "${TARGET_BUILD_DIR}/${CONTENTS_FOLDER_PATH}" --- NEW FILE: LocalizeStrings.sh --- #! /bin/sh # # LocalizeStrings # Build a localizable dictionary of text strings /usr/bin/genstrings -o Source/Framework/Resources/English.lproj/ Source/Framework/*.m* /usr/bin/genstrings -o Source/CrashReporter/English.lproj/ Source/CrashReporter/*.m* --- NEW FILE: build_number.broch --- 160 --- NEW FILE: Development.xcconfig --- COPY_PHASE_STRIP = NO GCC_OPTIMIZATION_LEVEL = 0 GCC_ENABLE_FIX_AND_CONTINUE = YES GCC_GENERATE_DEBUGGING_SYMBOLS = YES GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 DEBUGGING_SYMBOLS = YES OPTIMIZATION_CFLAGS = -O0 --- NEW FILE: MakeDocumentation.sh --- #! /bin/sh # # LocalizeStrings # Build a localizable dictionary of text strings mkdir -p build/Documentation /usr/bin/headerdoc2html -o build/Documentation Source/Framework/ILCrashReporter.h cd build/Documentation ln -s ILCrashReporter/index.html --- NEW FILE: Deployment.xcconfig --- COPY_PHASE_STRIP = YES ZERO_LINK = NO GCC_OPTIMIZATION_LEVEL = s --- NEW FILE: DoBuild.sh --- #! /bin/sh # # LocalizeStrings # Build a localizable dictionary of text strings xcodebuild install -target ILCrashReporter -buildstyle Deployment build_vars/MakeDocumentation.sh --- NEW FILE: LinkComponents.sh --- #! /bin/sh # # LinkModules echo LinkModules.sh cd "${SRC_ROOT}" #cd .. SOURCE_BASE=`pwd` INSTALL_DIR="$SYMROOT/ILCrashReporter.framework/" if [ "${BUILD_STYLE}" = "Development" ] ; then RESOURCES_DIR="${INSTALL_DIR}/Resources" mkdir -p "${RESOURCES_DIR}" # Helper Apps if [ ! -d "${RESOURCES_DIR}/CrashReporter.app" ] ; then ln -sf "${SOURCE_BASE}/build/CrashReporter.app" "${RESOURCES_DIR}/CrashReporter.app" fi fi |