1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tools/update-packaging/test/buildrefmars.sh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +#!/bin/bash 1.5 +# Builds all the reference mars 1.6 + 1.7 +if [ -f "ref.mar" ]; then 1.8 + rm "ref.mar" 1.9 +fi 1.10 +if [ -f "ref-mac.mar" ]; then 1.11 + rm "ref-mac.mar" 1.12 +fi 1.13 + 1.14 + ../make_incremental_update.sh ref.mar `pwd`/from `pwd`/to 1.15 + ../make_incremental_update.sh ref-mac.mar `pwd`/from-mac `pwd`/to-mac 1.16 + 1.17 +if [ -f "product-1.0.lang.platform.complete.mar" ]; then 1.18 + rm "product-1.0.lang.platform.complete.mar" 1.19 +fi 1.20 +if [ -f "product-2.0.lang.platform.complete.mar" ]; then 1.21 + rm "product-2.0.lang.platform.complete.mar" 1.22 +fi 1.23 +if [ -f "product-2.0.lang.mac.complete.mar" ]; then 1.24 + rm "product-2.0.lang.mac.complete.mar" 1.25 +fi 1.26 + 1.27 +./make_full_update.sh product-1.0.lang.platform.complete.mar "`pwd`/from" 1.28 +./make_full_update.sh product-2.0.lang.platform.complete.mar "`pwd`/to" 1.29 +./make_full_update.sh product-1.0.lang.mac.complete.mar "`pwd`/from-mac" 1.30 +./make_full_update.sh product-2.0.lang.mac.complete.mar "`pwd`/to-mac"