<commit_before>#!/usr/bin/env bash

# WARNING: NGBUILDS_IO_KEY should NOT be printed.
set +x -eu -o pipefail


INPUT_DIR=dist/
OUTPUT_FILE=/tmp/snapshot.tar.gz
AIO_BUILDS_HOST=https://ngbuilds.io
UPLOAD_URL=$AIO_BUILDS_HOST/create-build/$TRAVIS_PULL_REQUEST/$TRAVIS_PULL_REQUEST_SHA

cd "`dirname $0`/.."

yarn run build -- --prod
tar --create --gzip --directory "$INPUT_DIR" --file "$OUTPUT_FILE" .

exec 3>&1<commit_msg>build(aio): remove redundant arg<commit_after>#!/usr/bin/env bash

# WARNING: NGBUILDS_IO_KEY should NOT be printed.
set +x -eu -o pipefail


INPUT_DIR=dist/
OUTPUT_FILE=/tmp/snapshot.tar.gz
AIO_BUILDS_HOST=https://ngbuilds.io
UPLOAD_URL=$AIO_BUILDS_HOST/create-build/$TRAVIS_PULL_REQUEST/$TRAVIS_PULL_REQUEST_SHA

cd "`dirname $0`/.."

yarn run build
tar --create --gzip --directory "$INPUT_DIR" --file "$OUTPUT_FILE" .

exec 3>&1
{'fraction_non_alphanumeric': 0.14654161781946073, 'fraction_numerical': 0.007033997655334115, 'mean_word_length': 4.77027027027027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '4201077', 'n_tokens_mistral': 357, 'n_tokens_neox': 346, 'n_words': 67}