<commit_before>#!/bin/bash -e

export GOPATH=$PWD/go
export PATH=$GOPATH/bin:$PATH
OUTPUT_DIR=$PWD/compiled-output

cp source/Dockerfile ${OUTPUT_DIR}/.
cp /etc/ssl/certs/ca-certificates.crt ${OUTPUT_DIR}/ca-certificates.crt

go get github.com/tools/godep
WORKING_DIR=$GOPATH/src/github.com/pivotal-cf/email-resource
mkdir -p ${WORKING_DIR}
cp -R source/* ${WORKING_DIR}/.
cd ${WORKING_DIR}
godep go build -o ${OUTPUT_DIR}/bin/check ./actions/check
godep go build -o ${OUTPUT_DIR}/bin/in ./actions/in
godep go build -o ${OUTPUT_DIR}/bin/out ./actions/out

go get github.com/xchapter7x/versioning
<commit_msg>update to create new draft tag based on semver w/date<commit_after>#!/bin/bash -e

export GOPATH=$PWD/go
export PATH=$GOPATH/bin:$PATH
OUTPUT_DIR=$PWD/compiled-output
SOURCE_DIR=$PWD/source

cp source/Dockerfile ${OUTPUT_DIR}/.
cp /etc/ssl/certs/ca-certificates.crt ${OUTPUT_DIR}/ca-certificates.crt

go get github.com/tools/godep
WORKING_DIR=$GOPATH/src/github.com/pivotal-cf/email-resource
mkdir -p ${WORKING_DIR}
cp -R source/* ${WORKING_DIR}/.
cd ${WORKING_DIR}
godep go build -o ${OUTPUT_DIR}/bin/check ./actions/check
godep go build -o ${OUTPUT_DIR}/bin/in ./actions/in
godep go build -o ${OUTPUT_DIR}/bin/out ./actions/out

go get github.com/xchapter7x/versioning

cd ${SOURCE_DIR}
{'fraction_non_alphanumeric': 0.15200617283950618, 'fraction_numerical': 0.0015432098765432098, 'mean_word_length': 4.713656387665198, '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': '3258353', 'n_tokens_mistral': 519, 'n_tokens_neox': 490, 'n_words': 106}