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