Skip to content

Commit

Permalink
[#21] work on packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
vickeryj committed Feb 2, 2009
1 parent e763a94 commit a83588d
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions package_zip.sh
Expand Up @@ -2,8 +2,16 @@
git pull
git submodule init
git submodule update
zip -r objective_resource . -x build/\* .git\* .git/\*
cd Classes/lib
zip -r objective_resource_lib_only . -x objective_support/.git/\* objective_support/.git\*
mv objective_resource_lib_only.zip ../../
cd ../../
ORES_DIR=`pwd`
cd ../
zip -r objective_resource $ORES_DIR -x $ORES_DIR/build/\* $ORES_DIR/.git\* $ORES_DIR/.git/\*
mv objective_resource.zip $ORES_DIR
cd $ORES_DIR/Classes/
zip -r objective_resource_lib_only lib -x lib/objective_support/\* lib/objective_support/
mv objective_resource_lib_only.zip lib/objective_support/Classes
cd lib/objective_support/Classes
cp -R lib objective_support
mv objective_support lib/objective_support
zip -r objective_resource_lib_only lib/objective_support
rm -rf lib/objective_support
mv objective_resource_lib_only.zip ../../../../

0 comments on commit a83588d

Please sign in to comment.