source: releases/launch/1.0/package-launch.sh@ 640

Last change on this file since 640 was 149, checked in by Nicholas Riley, 21 years ago

package-launch.sh: exclude .svn and .gdb_history; xcodebuild not pbxbuild

File size: 1.4 KB
Line 
1#!/bin/sh
2
3set -x -v
4
5cd launch && \
6find . -name \*~ -exec rm '{}' \; && \
7xcodebuild && \
8SetFile -c 'R*ch' -t 'TEXT' README VERSION launch.1 && \
9strip build/launch && \
10sudo /usr/bin/install -c build/launch /usr/local/bin && \
11sudo /usr/bin/install -c launch.1 /usr/local/man/man1 && \
12rm -rf build/launch.build build/intermediates build/.gdb_history && \
13VERSION=`cat VERSION` TARBALL="launch-$VERSION.tar.gz" && \
14DMG="launch-$VERSION.dmg" VOL="launch $VERSION" MOUNTPOINT="/Volumes/$VOL" && \
15cd .. && \
16rm -f launch-$VERSION $TARBALL $DMG && \
17ln -s launch launch-$VERSION && \
18tar --exclude=.DS_Store --exclude=.svn --exclude=.gdb_history -zchf launch-$VERSION.tar.gz launch-$VERSION && \
19#hdiutil create $DMG -megabytes 5 -ov -type UDIF && \
20#DISK=`hdid $DMG | sed -ne ' /Apple_partition_scheme/ s|^/dev/\([^ ]*\).*$|\1|p'` && \
21#newfs_hfs -v "$VOL" /dev/r${DISK}s2 && \
22#hdiutil eject $DISK && \
23#hdid $DMG && \
24#ditto -rsrc launch "$MOUNTPOINT" && \
25#ditto -rsrc "InstallAnywhere/launch_Web_Installers/InstData/MacOSX/Install launch $VERSION.sit" "/Volumes/launch $VERSION" && \
26#launch "$MOUNTPOINT/Install launch $VERSION.sit" && \
27#./openUp "$MOUNTPOINT" && \
28#sleep 2 && \
29## hdiutil eject $DISK && \ # this doesn't work
30#osascript -e "tell application \"Finder\" to eject disk \"$VOL\"" && \
31#hdiutil convert $DMG -format UDZO -o z$DMG && \
32#mv z$DMG $DMG && \
33scp $TARBALL ainaz:web/nriley/software/ #$DMG
34:
Note: See TracBrowser for help on using the repository browser.