Last change
on this file since 475 was
472,
checked in by hendrikvanantwerpen, 12 years ago
|
Fixed deploy script.
Fix for ... in ... complaints by jshint.
Fix a typo.
|
-
Property svn:executable set to
*
|
File size:
338 bytes
|
Line | |
---|
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 "Usage: $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" && git pull && rm -rf * && cp -r ../build/* . && git add . && git commit -a -m "$1" && git push) |
---|
Note: See
TracBrowser
for help on using the repository browser.