<commit_before>/*

Build the client script

*/

var config = require('./config');
var gulp = require('gulp');
var rename = require("gulp-rename");
var awspublish = require('gulp-awspublish');
var cloudfront = require("gulp-cloudfront");
var revall = require('gulp-rev-all');
var inject = require("gulp-inject");
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var cssmin = require('gulp-cssmin');
var htmlmin = require('gulp-htmlmin');
var manifest = require('gulp-manifest');
var clean = require('gulp-clean');


var paths = {
  js:[
    "./bower_components/bean/bean.js",
    "./bower_components/hammerjs/hammer.js",
    "./lib/latlong.js",
    "./bower_components/tweenjs/src/Tween.js",
    "./script.js"
  ],
  css: ['style.css','icons/style.css'],

  assets: ['icons/ps*', 'floorplan.jpg', '*.mp3']
}


gulp.task('assets', function() {
  return gulp.src(paths.assets)
    .pipe(gulp.dest('dist'));
});

gulp.task('js', function() {
  return gulp.src(paths.js)
    .pipe(concat('all.js'))
    .pipe(uglify())
    .pipe(gulp.dest('dist'));
});

gulp.task('css', function() {
  return gulp.src(paths.css)
    .pipe(concat('all.css'))
    .pipe(cssmin())
    .pipe(gulp.dest('dist'));
});


gulp.task('html', ['js', 'css'], function() {
  var sources = gulp.src(['*.js','*.css'], {cwd:'./dist'});<commit_msg>publish changes<commit_after>/*

Build the client script

*/

var config = require('./config');
var gulp = require('gulp');
var rename = require("gulp-rename");
var awspublish = require('gulp-awspublish');
var cloudfront = require("gulp-cloudfront");
var revall = require('gulp-rev-all');
var inject = require("gulp-inject");
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var cssmin = require('gulp-cssmin');
var htmlmin = require('gulp-htmlmin');
var manifest = require('gulp-manifest');
var clean = require('gulp-clean');


var paths = {
  js:[
    "./bower_components/bean/bean.js",
    "./bower_components/hammerjs/hammer.js",
    "./bower_components/tweenjs/src/Tween.js",
    "./lib/latlong.js",
    "./talk.js",
    "./script.js"
  ],
  css: ['style.css','icons/style.css'],

  assets: ['icons/ps*', '*.png', '*.jpg', '*.mp3']
}


gulp.task('assets', function() {
  return gulp.src(paths.assets)
    .pipe(gulp.dest('dist'));
});

gulp.task('js', function() {
  return gulp.src(paths.js)
    .pipe(concat('all.js'))
    .pipe(uglify())
    .pipe(gulp.dest('dist'));
});

gulp.task('css', function() {
  return gulp.src(paths.css)
    .pipe(concat('all.css'))
    .pipe(cssmin())
    .pipe(gulp.dest('dist'));
});


gulp.task('html', ['js', 'css'], function() {
  var sources = gulp.src(['*.js','*.css'], {cwd:'./dist'});
{'fraction_non_alphanumeric': 0.2342007434944238, 'fraction_numerical': 0.0007434944237918215, 'mean_word_length': 4.096590909090909, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5278544', 'n_tokens_mistral': 1007, 'n_tokens_neox': 1003, 'n_words': 172}