Last change
on this file since 470 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
|
Rev | Line | |
---|
[469] | 1 | #!/bin/sh |
---|
| 2 | |
---|
| 3 | DEPLOYURL=git@heroku.com:quod-erat.git |
---|
| 4 | DEPLOYDIR=quod-erat.git |
---|
| 5 | |
---|
| 6 | if [ -z $1 ]; then |
---|
| 7 | echo "Suage: $o <commit message>" |
---|
| 8 | exit 1 |
---|
| 9 | fi |
---|
| 10 | |
---|
| 11 | if [ ! -d "$DEPLOYDIR" ]; then |
---|
| 12 | git clone "$DEPLOYURL" "$DEPLOYDIR" |
---|
| 13 | fi |
---|
| 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.