source: Dev/trunk/deploy.sh @ 471

Last change on this file since 471 was 469, checked in by hendrikvanantwerpen, 12 years ago

Speed-up build process.

Dropped the development build for generating files in the source
tree. This is a bit more messy, since these files will be checked in
as well. Teh extra copy to build/development was very slow though and
annoying when rapid test cycles were needed. A copy-on-newer function
did not improve much, traversing in Node/grunt seems to take time.

  • Property svn:executable set to *
File size: 309 bytes
Line 
1#!/bin/sh
2
3DEPLOYURL=git@heroku.com:quod-erat.git
4DEPLOYDIR=quod-erat.git
5
6if [ -z $1 ]; then
7    echo "Suage: $o <commit message>"
8    exit 1
9fi
10
11if [ ! -d "$DEPLOYDIR" ]; then
12    git clone "$DEPLOYURL" "$DEPLOYDIR"
13fi
14
15(cd "$DEPLOYDIR" && rm -rf * && cp -r ../build/* . && git add . && git commit -a "$1")
Note: See TracBrowser for help on using the repository browser.