mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-02-10 01:31:14 +00:00
git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@550 af15c1b1-3010-417e-b628-4374ebc0bcbd
116 lines
6.5 KiB
XML
116 lines
6.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Scheme
|
|
version = "1.8">
|
|
<BuildAction
|
|
parallelizeBuildables = "YES"
|
|
buildImplicitDependencies = "YES">
|
|
<BuildActionEntries>
|
|
<BuildActionEntry
|
|
buildForTesting = "YES"
|
|
buildForRunning = "YES"
|
|
buildForProfiling = "YES"
|
|
buildForArchiving = "YES"
|
|
buildForAnalyzing = "YES">
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "8D1107260486CEB800E47090"
|
|
BuildableName = "QuakeSpasm.app"
|
|
BlueprintName = "QuakeSpasm"
|
|
ReferencedContainer = "container:QuakeSpasm.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildActionEntry>
|
|
</BuildActionEntries>
|
|
</BuildAction>
|
|
<TestAction
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
buildConfiguration = "Debug">
|
|
<Testables>
|
|
</Testables>
|
|
<MacroExpansion>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "8D1107260486CEB800E47090"
|
|
BuildableName = "QuakeSpasm.app"
|
|
BlueprintName = "QuakeSpasm"
|
|
ReferencedContainer = "container:QuakeSpasm.xcodeproj">
|
|
</BuildableReference>
|
|
</MacroExpansion>
|
|
</TestAction>
|
|
<LaunchAction
|
|
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
|
|
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
|
|
displayScaleIsEnabled = "NO"
|
|
displayScale = "1.00"
|
|
launchStyle = "0"
|
|
useCustomWorkingDirectory = "NO"
|
|
buildConfiguration = "Debug"
|
|
debugDocumentVersioning = "YES"
|
|
allowLocationSimulation = "YES">
|
|
<BuildableProductRunnable>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "8D1107260486CEB800E47090"
|
|
BuildableName = "QuakeSpasm.app"
|
|
BlueprintName = "QuakeSpasm"
|
|
ReferencedContainer = "container:QuakeSpasm.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildableProductRunnable>
|
|
<CommandLineArguments>
|
|
<CommandLineArgument
|
|
argument = "-basedir /Applications/Quake"
|
|
isEnabled = "YES">
|
|
</CommandLineArgument>
|
|
<CommandLineArgument
|
|
argument = "-nolauncher"
|
|
isEnabled = "NO">
|
|
</CommandLineArgument>
|
|
</CommandLineArguments>
|
|
<AdditionalOptions>
|
|
</AdditionalOptions>
|
|
</LaunchAction>
|
|
<ProfileAction
|
|
displayScaleIsEnabled = "NO"
|
|
displayScale = "1.00"
|
|
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
savedToolIdentifier = ""
|
|
useCustomWorkingDirectory = "NO"
|
|
buildConfiguration = "Release"
|
|
debugDocumentVersioning = "YES">
|
|
<BuildableProductRunnable>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "8D1107260486CEB800E47090"
|
|
BuildableName = "QuakeSpasm.app"
|
|
BlueprintName = "QuakeSpasm"
|
|
ReferencedContainer = "container:QuakeSpasm.xcodeproj">
|
|
</BuildableReference>
|
|
</BuildableProductRunnable>
|
|
</ProfileAction>
|
|
<AnalyzeAction
|
|
buildConfiguration = "Debug">
|
|
</AnalyzeAction>
|
|
<ArchiveAction
|
|
buildConfiguration = "Release"
|
|
revealArchiveInOrganizer = "YES">
|
|
<PostActions>
|
|
<ExecutionAction
|
|
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
|
|
<ActionContent
|
|
title = "Run Script"
|
|
scriptText = "set -o errexit [ $BUILD_STYLE = Release ] || { echo Distribution target requires "'Release'" build style; false; } VERSION=$(defaults read "$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info" CFBundleVersion) DOWNLOAD_BASE_URL="http://quakespasm.sourceforge.net/sparkle" RELEASENOTES_URL="http://quakespasm.sourceforge.net/sparkle/rnotes.html#version-$VERSION" ARCHIVE_FILENAME="$PROJECT_NAME $VERSION.zip" DOWNLOAD_URL="$DOWNLOAD_BASE_URL/$ARCHIVE_FILENAME" KEYCHAIN_PRIVKEY_NAME="QuakeSpasm Sparkle Private Key" WD=$PWD cd "$BUILT_PRODUCTS_DIR" rm -f "$PROJECT_NAME"*.zip ditto -ck --keepParent "$PROJECT_NAME.app" "$ARCHIVE_FILENAME" SIZE=$(stat -f %z "$ARCHIVE_FILENAME") PUBDATE=$(LC_TIME=en_US date +"%a, %d %b %G %T %z") SIGNATURE=$( /usr/bin/openssl dgst -sha1 -binary < "$ARCHIVE_FILENAME" \ | /usr/bin/openssl dgst -dss1 -sign <(security find-generic-password -g -s "$KEYCHAIN_PRIVKEY_NAME" 2>&1 1>/dev/null | perl -pe '($_) = /"(.+)"/; s/\\012/\n/g' | perl -MXML::LibXML -e 'print XML::LibXML->new()->parse_file("-")->findvalue(q(//string[preceding-sibling::key[1] = "NOTE"]))') \ | /usr/bin/openssl enc -base64 ) [ $SIGNATURE ] || { echo Unable to load signing private key with name "'$KEYCHAIN_PRIVKEY_NAME'" from keychain; false; } cat <<EOF <item> <title>Version $VERSION</title> <sparkle:releaseNotesLink>$RELEASENOTES_URL</sparkle:releaseNotesLink> <pubDate>$PUBDATE</pubDate> <enclosure url="$DOWNLOAD_URL" sparkle:version="$VERSION" type="application/octet-stream" length="$SIZE" sparkle:dsaSignature="$SIGNATURE" /> </item> EOF echo scp "'$HOME/svn/my-cool-app/build/Release/$ARCHIVE_FILENAME'" www.example.com:download/ echo scp "'$WD/appcast.xml'" www.example.com:web/software/my-cool-app/appcast.xml">
|
|
<EnvironmentBuildable>
|
|
<BuildableReference
|
|
BuildableIdentifier = "primary"
|
|
BlueprintIdentifier = "8D1107260486CEB800E47090"
|
|
BuildableName = "QuakeSpasm.app"
|
|
BlueprintName = "QuakeSpasm"
|
|
ReferencedContainer = "container:QuakeSpasm.xcodeproj">
|
|
</BuildableReference>
|
|
</EnvironmentBuildable>
|
|
</ActionContent>
|
|
</ExecutionAction>
|
|
</PostActions>
|
|
</ArchiveAction>
|
|
</Scheme>
|