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

Last change on this file since 659 was 659, checked in by Nicholas Riley, 6 years ago

package-launch.sh: Use TextEdit? creator and more exclusions.

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