Skip to content

Commit

Permalink
updated build process
Browse files Browse the repository at this point in the history
  • Loading branch information
jessegrosjean committed Nov 10, 2008
1 parent fd1a497 commit 208a756
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<key>CFBundleShortVersionString</key>
<string>1.0 - Development</string>
<key>CFBundleVersion</key>
<string>6</string>
<string>7</string>
<key>LSUIElement</key>
<string>1</string>
<key>NSMainNibFile</key>
Expand Down
8 changes: 4 additions & 4 deletions QuickCursor.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@
8D11072E0486CEB800E47090 /* Frameworks */,
886B875C0CFC97D80023E2B8 /* Copy Frameworks */,
886B875D0CFC97D80023E2B8 /* Copy Plugins */,
886B87940CFC985F0023E2B8 /* Install SystemVersionCheck Script */,
886B87940CFC985F0023E2B8 /* Prepare Release Script */,
);
buildRules = (
);
Expand Down Expand Up @@ -515,19 +515,19 @@
shellPath = /bin/sh;
shellScript = "if [ $CONFIGURATION != 'Release' ]; then\n\texit\nfi\n\ngenstrings -s BLocalizedString -o English.lproj/ Sources/*.[mch] Sources/*/*.[mch]";
};
886B87940CFC985F0023E2B8 /* Install SystemVersionCheck Script */ = {
886B87940CFC985F0023E2B8 /* Prepare Release Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Install SystemVersionCheck Script";
name = "Prepare Release Script";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ $CONFIGURATION != 'Release' ]; then\n\texit\nfi\n\ncp \"$BUILT_PRODUCTS_DIR/SystemVersionCheck\" \"$BUILT_PRODUCTS_DIR/$EXECUTABLE_FOLDER_PATH/$EXECUTABLE_NAME-SystemVersionCheck\"";
shellScript = "if [ $CONFIGURATION != 'Release' ]; then\n\texit\nfi\n\n### Version Constants\n\nVERSION=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleVersion)\nSHORT_VERSION_STRING=$(defaults read \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app/Contents/Info\" CFBundleShortVersionString)\n\n### System Version Check\n\ncp \"$BUILT_PRODUCTS_DIR/SystemVersionCheck\" \"$BUILT_PRODUCTS_DIR/$EXECUTABLE_FOLDER_PATH/$EXECUTABLE_NAME-SystemVersionCheck\"\n\n### Build DMG\n\nDMG_DIR=\"$TEMP_FILES_DIR/disk\"\nDMG_PATH=\"$BUILT_PRODUCTS_DIR/$PROJECT_NAME-$SHORT_VERSION_STRING.dmg\"\n\nrm -rf \"$DMG_DIR\"\nmkdir \"$DMG_DIR\"\ncp -R \"$BUILT_PRODUCTS_DIR/$PROJECT_NAME.app\" \"$DMG_DIR\"\nrm -f \"$DMG_PATH\"\nhdiutil create -srcfolder \"$DMG_DIR\" -volname \"$PROJECT_NAME-$SHORT_VERSION_STRING\" \"$DMG_PATH\"\nhdiutil internet-enable -yes \"$DMG_PATH\"\nrm -rf \"$DMG_DIR\"";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

0 comments on commit 208a756

Please sign in to comment.