X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fpack_feisty_meow.sh;fp=scripts%2Farchival%2Fpack_feisty_meow.sh;h=1596fd4458ccae3ea1660a30d175ddc2726cddb2;hb=08c433f58546a8c8492a537b97759078247e8bce;hp=f98c004ae8f19ad5e91e546b4cd8b2b2f8b66ec4;hpb=9c896e976257e24f70f347d913c0a20681b13c04;p=feisty_meow.git diff --git a/scripts/archival/pack_feisty_meow.sh b/scripts/archival/pack_feisty_meow.sh index f98c004a..1596fd44 100644 --- a/scripts/archival/pack_feisty_meow.sh +++ b/scripts/archival/pack_feisty_meow.sh @@ -6,6 +6,8 @@ TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")" # specify where we keep the file until we're ready to move it. # shortcut for the lengthy exclude parameter. +# note that this only works on file patterns apparently, like *.hosed, +# instead of working with general patterns (like */code_guide/*). export XC='--exclude=' parent_dir="$(dirname "$FEISTY_MEOW_APEX")" @@ -13,8 +15,30 @@ base_dir="$(basename "$FEISTY_MEOW_APEX")" pushd $parent_dir -# zip up feisty meow, but exclude the file names we never want to see. -tar -h -czf $TEMPO_FILE $base_dir $XC"*/*.tar.gz" $XC"*/*.zip" $XC"*/waste/*" $XC"*/logs/*" $XC"*/binaries/*" $XC"*.git*" $XC"*/code_guide/*" $XC"*/kona/bin/*" +# archive feisty meow current state, but exclude the file names we never want +# to see in the archive. the exclude vcs flag takes care of excluding +# revision control system private dirs. first chunk of excludes is for the +# code guide files; this should wash out the majority of those fat things. +# next line is to exclude archives that shouldn't be in the output file. +tar -h -cz --exclude-vcs -f $TEMPO_FILE \ +\ + ${XC}*incl.map ${XC}*incl.md5 ${XC}*incl.png \ + ${XC}*8h.html ${XC}*8c.html ${XC}*8cpp.html ${XC}*8*source.html \ + ${XC}class*html ${XC}class*js ${XC}class*members.html \ + ${XC}struct*html ${XC}struct*js ${XC}struct*members.html \ + ${XC}globals*html ${XC}functions*html \ + ${XC}navtree*js ${XC}inherit_graph_* \ + ${XC}namespace*js ${XC}namespace*html \ + ${XC}dir_*html ${XC}dir_*map ${XC}dir_*md5 ${XC}dir_*png ${XC}dir_*js \ + ${XC}*8cpp.js ${XC}*8h.js \ + ${XC}*graph.map ${XC}*graph.md5 ${XC}*graph.png \ +\ + ${XC}*.tar.gz ${XC}*.zip \ +\ +$base_dir + +# note: not currently excluded! cannot do these with --exclude= flag! +#${XC}*/waste/* ${XC}*/logs/* ${XC}*/binaries/* ${XC}*/kona/bin/* # now move the newest version into its resting place. this prepares the # feisty_meow package for uploading.