3 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
5 TEMPO_FILE="$(mktemp "$TMP/zz_feistypack.XXXXXX")"
6 # specify where we keep the file until we're ready to move it.
8 # shortcut for the lengthy exclude parameter.
9 # note that this only works on file patterns apparently, like *.hosed,
10 # instead of working with general patterns (like */code_guide/*).
11 export XC='--exclude='
13 parent_dir="$(dirname "$FEISTY_MEOW_APEX")"
14 base_dir="$(basename "$FEISTY_MEOW_APEX")"
18 # archive feisty meow current state, but exclude the file names we never want
19 # to see in the archive. the exclude vcs flag takes care of excluding
20 # revision control system private dirs. first line of excludes is for the
21 # code guide files. this should wash out the majority of those fat things.
22 # next line is to exclude archives that shouldn't be in the output file.
23 tar -h -cz --exclude-vcs -f $TEMPO_FILE $base_dir \
24 ${XC}*8cpp_source.html ${XC}*8h__dep__incl.map ${XC}*8h__dep__incl.md5 ${XC}*8h__dep__incl.png ${XC}*8h.html
25 ${XC}*.tar.gz ${XC}*.zip \
27 # note: not currently excluded! cannot do these with --exclude= flag!
28 #${XC}*/waste/* ${XC}*/logs/* ${XC}*/binaries/* ${XC}*/kona/bin/*
30 # now move the newest version into its resting place. this prepares the
31 # feisty_meow package for uploading.
32 mv -v $TEMPO_FILE $WEBBED_SITES/feistymeow.org/releases/feisty_meow_codebase_$(date_stringer).tar.gz