<commit_before>#!/bin/sh

set -x

# This is an internal script used by scripts/build-ghcjs-deps.sh.
PATH=/opt/ghcjs/0.1.0/lts-1.0/bin:$PATH cabal --config-file=cabal-ghcjs-config update
PATH=/opt/ghcjs/0.1.0/lts-1.0/bin:$PATH cabal --config-file=cabal-ghcjs-config install --ghcjs deps/ghcjs-react/ deps/ide-backend/ide-backend-common/ deps/ide-backend-client/ide-backend-json deps/ghcjs-websockets deps/JsonGrammar2 deps/stack-prism deps/language-typescript deps/ghcjs-from-typescript/ghcjs-ace --force-reinstalls

# Remove dist, as these confuse fpbuild rebuild
rm -r deps/ide-backend/ide-backend-common/dist
rm -r deps/ide-backend-client/ide-backend-json/dist
rm -r deps/ghcjs-websockets/dist
rm -r deps/JsonGrammar2/dist
rm -r deps/language-typescript/dist<commit_msg>install-ghcjs-deps.sh no longer needs to remove dist dirs<commit_after>#!/bin/sh

set -x

# This is an internal script used by scripts/build-ghcjs-deps.sh.
PATH=/opt/ghcjs/0.1.0/lts-1.0/bin:$PATH cabal --config-file=cabal-ghcjs-config update
PATH=/opt/ghcjs/0.1.0/lts-1.0/bin:$PATH cabal --config-file=cabal-ghcjs-config install --ghcjs deps/ghcjs-react/ deps/ide-backend/ide-backend-common/ deps/ide-backend-client/ide-backend-json deps/ghcjs-websockets deps/JsonGrammar2 deps/stack-prism deps/language-typescript deps/ghcjs-from-typescript/ghcjs-ace --force-reinstalls
{'fraction_non_alphanumeric': 0.1453055141579732, 'fraction_numerical': 0.01713859910581222, 'mean_word_length': 4.185328185328185, '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': '7138682', 'n_tokens_mistral': 563, 'n_tokens_neox': 547, 'n_words': 86}