mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-11-14 05:05:02 -05:00
14 lines
271 B
Bash
Executable File
14 lines
271 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ -z "$1" ]; then echo "Must supply prod or dev"; exit 0; fi
|
|
|
|
V=`date "+%Y%m%d_%H%M%S"`
|
|
M=$1
|
|
|
|
rsync -avL --delete ../web/WebContent/ www/
|
|
rsync -avL --delete ../gwt/war/mailiverse_gwt/ www/mailiverse_gwt/
|
|
|
|
./compile-web-html $V $M
|
|
./compile-web-js $V $M
|
|
|