diff --git a/installer/Description.plist b/installer/Description.plist deleted file mode 100644 index 9f5e6b85..00000000 --- a/installer/Description.plist +++ /dev/null @@ -1,10 +0,0 @@ - - - - - IFPkgDescriptionDescription - Implements generation gap codegen pattern for Core Data. Inspired by eogenerator. - IFPkgDescriptionTitle - mogenerator VERSION - - diff --git a/installer/Info.plist b/installer/Info.plist deleted file mode 100644 index 913085cf..00000000 --- a/installer/Info.plist +++ /dev/null @@ -1,46 +0,0 @@ - - - - - CFBundleGetInfoString - VERSION, Copyright © 2006-2015 Jonathan 'Wolf' Rentzsch - CFBundleIdentifier - com.rentzsch.mogenerator - CFBundleShortVersionString - VERSION - IFMajorVersion - MAJOR_VERSION - IFMinorVersion - MINOR_VERSION - IFPkgFlagAllowBackRev - - IFPkgFlagAuthorizationAction - AdminAuthorization - IFPkgFlagBackgroundAlignment - topleft - IFPkgFlagBackgroundScaling - none - IFPkgFlagDefaultLocation - / - IFPkgFlagFollowLinks - - IFPkgFlagInstallFat - - IFPkgFlagInstalledSize - 292 - IFPkgFlagIsRequired - - IFPkgFlagOverwritePermissions - - IFPkgFlagRelocatable - - IFPkgFlagRestartAction - NoRestart - IFPkgFlagRootVolumeOnly - - IFPkgFlagUpdateInstalledLanguages - - IFPkgFormatVersion - 0.10000000149011612 - - diff --git a/installer/make_installer.command b/installer/make_installer.command deleted file mode 100755 index 33db9602..00000000 --- a/installer/make_installer.command +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh -cd "`dirname \"$0\"`" - -sudo echo - -sudo rm -rf 'build' - -cd .. -xcodebuild -configuration Release CONFIGURATION_BUILD_DIR="$PWD/installer/build/root/usr/local/bin/" -# The standard templates are now integrated into mogenerator's binary itself. -# mkdir -p 'build/root/Library/Application Support/mogenerator' -# cp templates/*.motemplate "$PWD/installer/build/root/Library/Application Support/mogenerator/" -cd installer - -VERSION=`build/root/usr/local/bin/mogenerator --version|head -n 1|sed -E 's/mogenerator ([0-9]+\.[0-9]+(\.[0-9]+)?).+/\1/g'` -MAJOR_VERSION=`echo $VERSION|sed -E 's/([0-9]+).+/\1/g'` -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' -/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 -hdiutil create -srcfolder "build/mogenerator-$VERSION.pkg" -volname "mogenerator $VERSION" "build/mogenerator-$VERSION.dmg"