first check-in of feisty meow codebase. many things broken still due to recent
[feisty_meow.git] / production / setup_src / whole_build_package / create_whole_build_pack.sh
1 #!/bin/bash
2
3 # Creates the application bundle of core code and support files.
4
5 version=$1
6
7 INSTDIR=$PRODUCTION_DIR/install
8 if [ ! -d "$INSTDIR" ]; then mkdir "$INSTDIR"; fi
9
10 # the new packages are named after the build version.
11 total_build=$INSTDIR/whole_build_$version.exe
12 source_pack=$INSTDIR/sources_$version.exe
13 # clean out older versions of the packages.
14 rm -f $INSTDIR/whole_build_*exe $INSTDIR/sources_*exe
15
16 echo
17 echo Creating source package in `basename $source_pack`
18 $PRODUCTION_DIR/binaries/bundle_creator -o $source_pack -m ./whole_build_manifest.txt --keyword sources
19
20 echo
21 echo Creating full build package in `basename $total_build`
22 $PRODUCTION_DIR/binaries/bundle_creator -o $total_build -m ./whole_build_manifest.txt
23