<commit_before>#!/bin/sh

if [ $# -lt 1 ] ; then
  echo "Usage: mk_vtp_src_zips.sh date"
  echo
  echo "Example: mk_vtp_src_zips.sh 021029"
  exit
fi

SOURCEDIR=/cygdrive/c
TARGETDIR=/cygdrive/c/Distrib
DATE=$1
DIST_FILE1=${TARGETDIR}/vtp-src-${DATE}.zip
DIST_FILE2=${TARGETDIR}/vtp-srcdocs-${DATE}.zip

cd $SOURCEDIR

# Create the archive containing the Source
rm -f $DIST_FILE1

zip $DIST_FILE1 VTP/Make.defs
zip $DIST_FILE1 VTP/Makefile

# zip $DIST_FILE1 VTP/TerrainSDK/configure
# zip $DIST_FILE1 VTP/TerrainSDK/configure.in
zip $DIST_FILE1 VTP/TerrainSDK/install-sh
zip $DIST_FILE1 VTP/TerrainSDK/Makefile

zip $DIST_FILE1 VTP/TerrainSDK/unzip/*

zip $DIST_FILE1 VTP/TerrainSDK/vtdata/*
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/shapelib/*
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/triangle/*

zip $DIST_FILE1 VTP/TerrainSDK/vtlib/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/core/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/vtosg/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/vtsgl/*

zip $DIST_FILE1 VTP/TerrainSDK/xmlhelper/*
zip $DIST_FILE1 VTP/TerrainSDK/xmlhelper/include/*

zip $DIST_FILE1 VTP/TerrainSDK/vtui/*

# zip $DIST_FILE1 VTP/TerrainApps/configure<commit_msg>added vtopensg, screen vtdata files better<commit_after>#!/bin/sh

if [ $# -lt 1 ] ; then
  echo "Usage: mk_vtp_src_zips.sh date"
  echo
  echo "Example for October 29 2007: mk_vtp_src_zips.sh 071029"
  exit
fi

SOURCEDIR=/cygdrive/c
TARGETDIR=/cygdrive/c/Distrib
DATE=$1
DIST_FILE1=${TARGETDIR}/vtp-src-${DATE}.zip
DIST_FILE2=${TARGETDIR}/vtp-srcdocs-${DATE}.zip

cd $SOURCEDIR

# Create the archive containing the Source
rm -f $DIST_FILE1

zip $DIST_FILE1 VTP/Make.defs
zip $DIST_FILE1 VTP/Makefile

# zip $DIST_FILE1 VTP/TerrainSDK/configure
# zip $DIST_FILE1 VTP/TerrainSDK/configure.in
zip $DIST_FILE1 VTP/TerrainSDK/install-sh
zip $DIST_FILE1 VTP/TerrainSDK/Makefile

zip $DIST_FILE1 VTP/TerrainSDK/unzip/*

zip $DIST_FILE1 VTP/TerrainSDK/vtdata/*.h
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/*.inl
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/*.cpp
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/*.cfg
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/Makefile
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/*.vcproj

zip $DIST_FILE1 VTP/TerrainSDK/vtdata/shapelib/*
zip $DIST_FILE1 VTP/TerrainSDK/vtdata/triangle/*

zip $DIST_FILE1 VTP/TerrainSDK/vtlib/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/core/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/vtosg/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/vtopensg/*
zip $DIST_FILE1 VTP/TerrainSDK/vtlib/vtsgl/*

zip $DIST_FILE1 VTP/TerrainSDK/xmlhelper/*
zip $DIST_FILE1 VTP/TerrainSDK/xmlhelper/include/*

zip $DIST_FILE1 VTP/TerrainSDK/vtui/*

# zip $DIST_FILE1 VTP/TerrainApps/configure
{'fraction_non_alphanumeric': 0.12139605462822459, 'fraction_numerical': 0.026555386949924126, 'mean_word_length': 5.2047058823529415, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3070101', 'n_tokens_mistral': 1265, 'n_tokens_neox': 1119, 'n_words': 198}