Skip to content

Commit

Permalink
[DEV] Reintroduce Xmo'd into standard install.
Browse files Browse the repository at this point in the history
  • Loading branch information
rentzsch committed Oct 9, 2009
1 parent a903d16 commit c092a17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion installer/Description.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<key>IFPkgDescriptionDescription</key>
<string>Implements generation gap codegen pattern for Core Data. Inspired by eogenerator.</string>
<key>IFPkgDescriptionTitle</key>
<string>mogenerator</string>
<string>mogenerator + Xmo'd VERSION</string>
</dict>
</plist>
4 changes: 4 additions & 0 deletions installer/make_installer.command
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ MINOR_VERSION=`echo $VERSION|sed -E 's/[0-9]+\.([0-9]+).*/\1/g'`
sed -E "s/VERSION/$VERSION/g" < Description.plist > 'build/Description.plist'
sed -e "s/MAJOR_VERSION/$MAJOR_VERSION/g" -e "s/MINOR_VERSION/$MINOR_VERSION/g" -e "s/VERSION/$VERSION/g" < Info.plist > 'build/Info.plist'

cd ../Xmod
xcodebuild -configuration Release CONFIGURATION_BUILD_DIR="`dirname $PWD`/installer/build/root/Developer/Library/Xcode/Plug-ins/"
cd ../installer

sudo chown -R root 'build/root'
sudo chgrp -R admin 'build/root'
/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -build -p "build/mogenerator-$VERSION.pkg" -f 'build/root' -i 'build/Info.plist' -d 'build/Description.plist' -ds
Expand Down

0 comments on commit c092a17

Please sign in to comment.