diff options
author | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-10-30 14:04:56 +0100 |
---|---|---|
committer | Ludovic Pouzenc <lpouzenc@gmail.com> | 2013-10-30 14:04:56 +0100 |
commit | acbb8dff1439b0d05709a93fff356e7f6b829da6 (patch) | |
tree | b07773037c6751a3720fdf9f383b13df3ac30259 /dist | |
parent | 97bd9842f44bb25832f5dd8288372f2199cf3b7b (diff) | |
download | editablesite-acbb8dff1439b0d05709a93fff356e7f6b829da6.tar.gz editablesite-acbb8dff1439b0d05709a93fff356e7f6b829da6.tar.bz2 editablesite-acbb8dff1439b0d05709a93fff356e7f6b829da6.zip |
INI et Unicode. Avancée sur fonctions AJAX et trados.
Diffstat (limited to 'dist')
-rwxr-xr-x | dist/build_all.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dist/build_all.sh b/dist/build_all.sh index 9f0306a..33b3e36 100755 --- a/dist/build_all.sh +++ b/dist/build_all.sh @@ -23,6 +23,7 @@ buildname=editablesite-$commit srclocale=$srcbase/locale dstlocale="$dstbase/$buildname/admin/locale" archfile=out/$buildname +installdir=/var/www export_files $srcbase $dstbase/$buildname <<EOT ./README ./ @@ -50,7 +51,7 @@ do mo_dir="$dstlocale/"${fname%%.po}.utf8/LC_MESSAGES [ -d "$mo_dir" ] || mkdir -p "$mo_dir" - echo msgfmt -o "'$mo_dir/editablesite.mo'" "'$f'" + #echo msgfmt -o "'$mo_dir/editablesite.mo'" "'$f'" msgfmt -o "$mo_dir/editablesite.mo" "$f" done @@ -99,5 +100,6 @@ gzip -9 -c $archfile.tar > $archfile.tar.gz ( cd "$dstbase" ; zip -9 -q -r - $buildname/) > $archfile.zip rm $archfile.tar -sudo tar -xf $archfile.tar.gz -C /var/www/ +echo "Deploying for test in $installdir" +sudo tar -xf $archfile.tar.gz -C $installdir |