<commit_before>#!/bin/sh
# Damage control build script for jMock.

#export RELEASE_ID=1.0
#export PRERELEASE_ID=1.0-RC1
export SNAPSHOT_ID=$(date +%Y%m%d-%H%M%S)

export PACKAGEDIR=packages
export WEBDIR=website/output
export JAVADOCDIR=$WEBDIR/docs/javadoc

export WEBSITE=<EMAIL>:/www/jmock.codehaus.org/
export DISTSITE=<EMAIL>:/www/dist.codehaus.org/jmock

function run_task {
	local task=$1
	
	if sh continuous-integration/$task.sh > /dev/null; then
		echo $task done;
	else
		echo $task failed;
	fi
}

function tasks {
	for task in $*; do
		run_task $task;<commit_msg>[np] Snapshots now named after UTC time of creation, not local time at CI server<commit_after>#!/bin/sh
# Damage control build script for jMock.

#export RELEASE_ID=1.0
#export PRERELEASE_ID=1.0-RC1
export SNAPSHOT_ID=$(date --utc +%Y%m%d-%H%M%S)

export PACKAGEDIR=packages
export WEBDIR=website/output
export JAVADOCDIR=$WEBDIR/docs/javadoc

export WEBSITE=<EMAIL>:/www/jmock.codehaus.org/
export DISTSITE=<EMAIL>:/www/dist.codehaus.org/jmock

function run_task {
	local task=$1
	
	if sh continuous-integration/$task.sh > /dev/null; then
		echo $task done;
	else
		echo $task failed;
	fi
}

function tasks {
	for task in $*; do
		run_task $task;
{'fraction_non_alphanumeric': 0.12694512694512694, 'fraction_numerical': 0.009828009828009828, 'mean_word_length': 4.764150943396227, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '317528', 'n_tokens_mistral': 500, 'n_tokens_neox': 475, 'n_words': 112}