<commit_before>var gulp = require('gulp');
var runSequence = require('run-sequence');

//PATH CONFIG

var pathConfig = require('../../config.json');

var source = pathConfig.testBuild.dev 
  + pathConfig.assets 
  + pathConfig.ngComponents.dir
  + '/**/*.html';

var destination = pathConfig.testBuild.dist
  + pathConfig.assets
  + pathConfig.ngComponents.dir;

var dataSource = pathConfig.testBuild.dev 
	+ pathConfig.assets 
	+ pathConfig.dataDir;

var dataDestination = pathConfig.testBuild.dist 
	+ pathConfig.assets 
	+ pathConfig.dataDir;

//TASK

gulp.task('copy:dist',function(callback) {
   runSequence(['copy:dist:templates','copy:dist:data'],callback);
})

gulp.task('copy:dist:templates',function(){
  return gulp.src(source)
  .pipe(gulp.dest(destination));
})

gulp.task('copy:dist:data',function(){
	return gulp.src(dataSource)
	.pipe(gulp.dest(dataDestination))
})<commit_msg>correct gulp distribution copy task error<commit_after>var gulp = require('gulp');
var runSequence = require('run-sequence');

//PATH CONFIG

var pathConfig = require('../../config.json');

var source = pathConfig.testBuild.dev 
  + pathConfig.assets 
  + pathConfig.ngComponents.dir
  + '/**/*.html';

var destination = pathConfig.testBuild.dist
  + pathConfig.assets
  + pathConfig.ngComponents.dir;

var dataSource = pathConfig.testBuild.dev 
	+ pathConfig.assets 
	+ pathConfig.dataDir
  + '/**/*.json';

var dataDestination = pathConfig.testBuild.dist 
	+ pathConfig.assets 
	+ pathConfig.dataDir;

//TASK

gulp.task('copy:dist',function(callback) {
   runSequence(['copy:dist:templates','copy:dist:data'],callback);
})

gulp.task('copy:dist:templates',function(){
  return gulp.src(source)
  .pipe(gulp.dest(destination));
})

gulp.task('copy:dist:data',function(){
	return gulp.src(dataSource)
	.pipe(gulp.dest(dataDestination))
})
{'fraction_non_alphanumeric': 0.1632987438558165, 'fraction_numerical': 0.0, 'mean_word_length': 5.127090301003345, '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': '1037364', 'n_tokens_mistral': 615, 'n_tokens_neox': 606, 'n_words': 92}