Skip to content
Browse files

[DEV] Reintroduce Xmo'd into standard install.

  • Loading branch information...
1 parent a903d16 commit c092a17734157a9976505bc94744bf0a90432dd7 @rentzsch committed
Showing with 5 additions and 1 deletion.
  1. +1 −1 installer/Description.plist
  2. +4 −0 installer/make_installer.command
View
2 installer/Description.plist
@@ -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>
View
4 installer/make_installer.command
@@ -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

0 comments on commit c092a17

Please sign in to comment.
Something went wrong with that request. Please try again.