source: branches/1.7-appstore/source/scripts/make-store-app @ 15153

Last change on this file since 15153 was 15153, checked in by rme, 8 years ago

Hackish script for building Mac App Store package.

File size: 857 bytes
Line 
1#!/bin/sh
2
3ccl=/usr/local/src/ccl-appstore
4app="$ccl/Clozure CL.app"
5target="$app/Contents/Resources/ccl"
6
7mkdir "$target"
8( cd "$ccl/lisp-kernel/darwinx8664" && make clean )
9( cd "$ccl/cocoa-ide/altconsole" && make clean && rm -rf AltConsole.app )
10
11find "$ccl" -type f -name "*.*fsl" -exec rm -rf {} \;
12
13for i in cocoa-ide compiler darwin-x86-headers64 doc examples level-0 level-1 lib library lisp-kernel objc-bridge scripts tools xdump; do
14  cp -r "$ccl/$i" "$target"
15done
16
17
18find "$app" -type d -name .svn -exec rm -rf {} \;
19
20codesign -s "3rd Party Mac Developer Application: Clozure Associates, LLC" "$app/Contents/Resources/AltConsole.app"
21codesign -s "3rd Party Mac Developer Application: Clozure Associates, LLC" "$app"
22productbuild --component "$app" /Applications --sign "3rd Party Mac Developer Installer: Clozure Associates, LLC" "$ccl/ccl.pkg"
23
Note: See TracBrowser for help on using the repository browser.