forked from Clozure/ccl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it possible to build a Mac App Store version of CCL
from the main development branch (rather than having to use a separate store-only branch). The way this works is that you start up ccl, push :mac-app-store onto features, and then do (require 'cocoa-application) as usual. To package up the result for the Mac App Store, you first have to get the appropriate certificates from Apple. Xcode make this easy enough. With those in hand, scripts/make-store-app will do the rest.
- Loading branch information
Showing
10 changed files
with
89 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/sh | ||
|
||
ccl=/usr/local/src/ccl | ||
app="$ccl/Clozure CL.app" | ||
target="$app/Contents/Resources/ccl" | ||
|
||
mkdir "$target" | ||
( cd "$ccl/lisp-kernel/darwinx8664" && make clean ) | ||
( cd "$ccl/lisp-kernel/darwinx8632" && make clean ) | ||
( cd "$ccl/cocoa-ide/altconsole" && make clean && rm -rf AltConsole.app ) | ||
|
||
for i in cocoa-ide compiler darwin-x86-headers64 doc examples level-0 level-1 lib library lisp-kernel objc-bridge scripts tools xdump; do | ||
cp -Rp "$ccl/$i" "$target" | ||
# we want the fasls for tools/, mainly because asdf.lisp is slow | ||
# to load from source | ||
if test "$i" != tools; then | ||
find "$target/$i" -type f -name "*.*fsl" -exec rm -rf {} \; | ||
fi | ||
done | ||
|
||
find "$app" -type d -name .svn -exec rm -rf {} \; | ||
|
||
codesign -s "3rd Party Mac Developer Application: Clozure Associates, LLC" "$app/Contents/Resources/AltConsole.app" | ||
codesign -s "3rd Party Mac Developer Application: Clozure Associates, LLC" "$app" | ||
productbuild --component "$app" /Applications --sign "3rd Party Mac Developer Installer: Clozure Associates, LLC" "$ccl/ccl.pkg" | ||
|