<commit_before>#!/bin/sh

APPNAME=$2
STEROIDSCMD=$1

EXAMPLES="accelerometer animation audio camera compass device drawer geolocation layerStack modal navigationBar notification photoGallery preload s3upload storage"
TUTORIALS="begin"


echo "running $STEROIDSCMD create $APPNAME"

$STEROIDSCMD create $APPNAME
if [ "$?" != "0" ]; then
  echo "error"
  exit 1
fi

cd $APPNAME
STEROIDSCMD="../$STEROIDSCMD"

for EXAMPLE in $EXAMPLES; do
  $STEROIDSCMD generate example $EXAMPLE
done

for TUTORIAL in $TUTORIALS; do
  $STEROIDSCMD generate tutorial $TUTORIAL
done
<commit_msg>update test project generator to remove deprecated examples<commit_after>#!/bin/sh

APPNAME=$2
STEROIDSCMD=$1

EXAMPLES="accelerometer animation audio compass device geolocation modal notification preload storage"
TUTORIALS="begin"


echo "running $STEROIDSCMD create $APPNAME"

$STEROIDSCMD create $APPNAME
if [ "$?" != "0" ]; then
  echo "error"
  exit 1
fi

cd $APPNAME
STEROIDSCMD="../$STEROIDSCMD"

for EXAMPLE in $EXAMPLES; do
  $STEROIDSCMD generate example $EXAMPLE
done

for TUTORIAL in $TUTORIALS; do
  $STEROIDSCMD generate tutorial $TUTORIAL
done

{'fraction_non_alphanumeric': 0.09179170344218888, 'fraction_numerical': 0.00794351279788173, 'mean_word_length': 5.670588235294118, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '1951776', 'n_tokens_mistral': 413, 'n_tokens_neox': 389, 'n_words': 119}