Skip to content

Commit

Permalink
Build script.
Browse files Browse the repository at this point in the history
  • Loading branch information
calumr committed Jan 27, 2008
1 parent 5398d73 commit c7bf7a0
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions make_dmg.sh
@@ -0,0 +1,17 @@
#!/bin/sh

TMP_DIR="/tmp/flurry-build/"
PLIST=`pwd`/Info
VERS=`defaults read $PLIST CFBundleShortVersionString`
DMG_NAME="Flurry.$VERS.dmg"

mkdir -p $TMP_DIR/flurry
xcodebuild -target Flurry -configuration Release SYMROOT=$TMP_DIR

cp -r $TMP_DIR/Release/Flurry.saver /tmp/flurry-build/flurry
cp -r readme.rtfd $TMP_DIR/flurry
find $TMP_DIR -name .DS_Store -delete

hdiutil create ~/Desktop/$DMG_NAME -ov -srcfolder $TMP_DIR/flurry -volname Flurry

rm -r $TMP_DIR

0 comments on commit c7bf7a0

Please sign in to comment.