<commit_before>#!/bin/sh

# Append additional files and directories to ignore
echo "
# Assets
/assets/
/scraper/
strings_secret.xml

# Code coverage
coverage/

# Build/bundle
ios/main.jsbundle

# Keystores
*/keystores/*

# Environment
js/env.js" >> .gitignore

# Update the package name of the app
sed -i '' 's/com\.campusguide/ca.josephroque.campusguide/g' ./android/app/build.gradle

# Update .flowconfig to map filenames
sed -i '' 's/[[]options[]]/[options]\'$'\n''module.name_mapper='"'"'env'"'"' -> '"'"'empty\/object'"'"'\'$'\n''module.name_mapper='"'"'.*\/assets\/csv\/.*'"'"' -> '"'"'empty\/object'"'"'\'$'\n''module.name_mapper='"'"'.*\/assets\/js\/.*'"'"' -> '"'"'empty\/object'"'"'\'$'\n''module.name_mapper='"'"'.*\/assets\/json\/.*'"'"' -> '"'"'empty\/object'"'"'\'$'\n''/g' ./.flowconfig

# Add additional flow ignore comment
sed -i '' 's/suppress_type=[$]FixMe/suppress_type=$FixMe\'$'\n''\'$'\n''suppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowIgnore\'$'\n''/g' ./.flowconfig

# Remove the MainActivity files added in the new package
rm -r ./android/app/src/main/java/com/

# Link react-native dependencies
rnpm link react-native-vector-icons
rnpm link react-native-maps
rnpm link react-native-orientation
rnpm link react-native-device-info
rnpm link react-native-fs
rnpm link react-native-sqlite-storage<commit_msg>Add react-native-admob link to script<commit_after>#!/bin/sh

# Append additional files and directories to ignore
echo "
# Assets
/assets/
/scraper/
strings_secret.xml

# Code coverage
coverage/

# Build/bundle
ios/main.jsbundle

# Keystores
*/keystores/*

# Environment
js/env.js" >> .gitignore

# Update the package name of the app
sed -i '' 's/com\.campusguide/ca.josephroque.campusguide/g' ./android/app/build.gradle

# Update .flowconfig to map filenames
sed -i '' 's/[[]options[]]/[options]\'$'\n''module.name_mapper='"'"'env'"'"' -> '"'"'empty\/object'"'"'\'$'\n''module.name_mapper='"'"'.*\/assets\/csv\/.*'"'"' -> '"'"'empty\/object'"'"'\'$'\n''module.name_mapper='"'"'.*\/assets\/js\/.*'"'"' -> '"'"'empty\/object'"'"'\'$'\n''module.name_mapper='"'"'.*\/assets\/json\/.*'"'"' -> '"'"'empty\/object'"'"'\'$'\n''/g' ./.flowconfig

# Add additional flow ignore comment
sed -i '' 's/suppress_type=[$]FixMe/suppress_type=$FixMe\'$'\n''\'$'\n''suppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowIgnore\'$'\n''/g' ./.flowconfig

# Remove the MainActivity files added in the new package
rm -r ./android/app/src/main/java/com/

# Link react-native dependencies
rnpm link react-native-vector-icons
rnpm link react-native-maps
rnpm link react-native-orientation
rnpm link react-native-device-info
rnpm link react-native-fs
rnpm link react-native-sqlite-storage
rnpm link react-native-admob
{'fraction_non_alphanumeric': 0.24622189458164392, 'fraction_numerical': 0.0, 'mean_word_length': 4.063432835820896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '6167241', 'n_tokens_mistral': 1006, 'n_tokens_neox': 993, 'n_words': 184}