X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Farchival%2Fpack_feisty_meow.sh;h=529c2ac3b9169e2e50d52782c65e2cd88a3754ae;hb=8aae752612c2c8097dab5f16feb413bbee4d9170;hp=40f438a10dd22b3c8c6fcab4f1a869e50cb4e950;hpb=dfa85df6c230ed8202412e3e2cdf204edb3a6f35;p=feisty_meow.git diff --git a/scripts/archival/pack_feisty_meow.sh b/scripts/archival/pack_feisty_meow.sh index 40f438a1..529c2ac3 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,20 @@ 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*/kona/bin/* $XC*/code_guide +# 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 $base_dir \ +\ + ${XC}*8cpp_source.html ${XC}*8h__dep__incl.map ${XC}*8h__dep__incl.md5 ${XC}*8h__dep__incl.png ${XC}*8h.html \ + ${XC}*8h__incl.png ${XC}*8h_source.html ${XC}8h__dep__incl.md5 ${XC}8cpp.js \ +\ + ${XC}*.tar.gz ${XC}*.zip \ + +# 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.