source: trunk/launch/package-launch.sh@ 267

Last change on this file since 267 was 267, checked in by Nicholas Riley, 18 years ago

package-launch.sh, launch/README: New, simpler packaging process.

File size: 822 bytes
RevLine 
[166]1#!/bin/zsh
[3]2
3set -x -v
4
5cd launch && \
6find . -name \*~ -exec rm '{}' \; && \
[267]7xcodebuild -configuration Deployment clean && \
8xcodebuild -configuration Deployment DSTROOT=/ "INSTALL_PATH=$PWD" install && \
[146]9SetFile -c 'R*ch' -t 'TEXT' README VERSION launch.1 && \
[267]10sudo /usr/bin/install -c launch /usr/local/bin && \
[146]11sudo /usr/bin/install -c launch.1 /usr/local/man/man1 && \
[267]12chmod 755 launch && \
[166]13chmod 644 launch.1 && \
[3]14rm -rf build/launch.build build/intermediates build/.gdb_history && \
15VERSION=`cat VERSION` TARBALL="launch-$VERSION.tar.gz" && \
16cd .. && \
17rm -f launch-$VERSION $TARBALL $DMG && \
18ln -s launch launch-$VERSION && \
[166]19tar --owner=root --group=wheel --exclude=.DS_Store --exclude=.svn --exclude=.gdb_history -zchf launch-$VERSION.tar.gz launch-$VERSION && \
[146]20scp $TARBALL ainaz:web/nriley/software/ #$DMG
21:
Note: See TracBrowser for help on using the repository browser.