<commit_before># Build configurations
module.exports = (grunt) ->
	require('load-grunt-tasks')(grunt)
	require('time-grunt')(grunt)

	grunt.initConfig
		# Gets dependent components from bower
		# see bower.json file
		bower:
			install:
				options:
					copy: false
			uninstall:
				options:
					cleanBowerDir: true
					copy: false
					install: false

		# Deletes dist and .temp directories
		# The .temp directory is used during the build process
		# The dist directory contains the artifacts of the build
		# These directories should be deleted before subsequent builds
		# These directories are not committed to source control
		clean:
			working: [
				'.temp/'
				'dist/'
			]
			# Used for those that desire plain old JavaScript
			jslove: [
				'**/*.coffee'
				'!**/bower_components/**'
				'!**/node_modules/**'
			]

		# Compiles CoffeeScript (.coffee) files to JavaScript (.js)
		coffee:
			app:
				files: [
					cwd: '.temp/'
					src: '**/*.coffee'
					dest: '.temp/'
					expand: true
					ext: '.js'
				]
				options:
					sourceMap: true
			# Used for those that desire plain old JavaScript
			jslove:
				files: [
					cwd: ''
					src: [
						'**/*.coffee'
						'!**/bower_components/**'
						'!**/node_modules/**'
					]
					dest: ''
					expand: true
					ext: '.js'
				]

		# Lints CoffeeScript files
		coffeelint:
			app:
				files: [
					cwd: ''
					src: [
						'src/**/*.coffee'
						'!src/scripts/libs/**'
					]
				]
				options:
					indentation:
						value: 1
					max_line_length:
						level: 'ignore'
					no_tabs:
						level: 'ignore'

		# Sets up a web server
		connect:
			app:
				options:
					base: 'dist/'
					livereload: true
					middleware: require './middleware'
					open: true
					port: 0

		# Copies directories and files from one location to another
		copy:
			app:
				files: [
					cwd: 'src/'
					src: '**'
					dest: '.temp/'
					expand: true
				,
					cwd: 'bower_components/angular/'
					src: 'angular.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/angular-animate/'
					src: 'angular-animate.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/angular-mocks/'
					src: 'angular-mocks.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/angular-route/'
					src: 'angular-route.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/bootstrap/less/'
					src: '*'
					dest: '.temp/styles/'
					expand: true
				,
					cwd: 'bower_components/bootstrap/fonts/'
					src: '*'
					dest: '.temp/fonts/'
					expand: true
				,
					cwd: 'bower_components/html5shiv/dist/'
					src: 'html5shiv-printshiv.js'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/json3/lib/'
					src: 'json3.min.js'
					dest: '.temp/scripts/libs/'
					expand: true
				,<commit_msg>fix for change in bower bootstrap location change for fonts<commit_after># Build configurations
module.exports = (grunt) ->
	require('load-grunt-tasks')(grunt)
	require('time-grunt')(grunt)

	grunt.initConfig
		# Gets dependent components from bower
		# see bower.json file
		bower:
			install:
				options:
					copy: false
			uninstall:
				options:
					cleanBowerDir: true
					copy: false
					install: false

		# Deletes dist and .temp directories
		# The .temp directory is used during the build process
		# The dist directory contains the artifacts of the build
		# These directories should be deleted before subsequent builds
		# These directories are not committed to source control
		clean:
			working: [
				'.temp/'
				'dist/'
			]
			# Used for those that desire plain old JavaScript
			jslove: [
				'**/*.coffee'
				'!**/bower_components/**'
				'!**/node_modules/**'
			]

		# Compiles CoffeeScript (.coffee) files to JavaScript (.js)
		coffee:
			app:
				files: [
					cwd: '.temp/'
					src: '**/*.coffee'
					dest: '.temp/'
					expand: true
					ext: '.js'
				]
				options:
					sourceMap: true
			# Used for those that desire plain old JavaScript
			jslove:
				files: [
					cwd: ''
					src: [
						'**/*.coffee'
						'!**/bower_components/**'
						'!**/node_modules/**'
					]
					dest: ''
					expand: true
					ext: '.js'
				]

		# Lints CoffeeScript files
		coffeelint:
			app:
				files: [
					cwd: ''
					src: [
						'src/**/*.coffee'
						'!src/scripts/libs/**'
					]
				]
				options:
					indentation:
						value: 1
					max_line_length:
						level: 'ignore'
					no_tabs:
						level: 'ignore'

		# Sets up a web server
		connect:
			app:
				options:
					base: 'dist/'
					livereload: true
					middleware: require './middleware'
					open: true
					port: 0

		# Copies directories and files from one location to another
		copy:
			app:
				files: [
					cwd: 'src/'
					src: '**'
					dest: '.temp/'
					expand: true
				,
					cwd: 'bower_components/angular/'
					src: 'angular.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/angular-animate/'
					src: 'angular-animate.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/angular-mocks/'
					src: 'angular-mocks.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/angular-route/'
					src: 'angular-route.*'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/bootstrap/less/'
					src: '*'
					dest: '.temp/styles/'
					expand: true
				,
					cwd: 'bower_components/bootstrap/dist/fonts/'
					src: '*'
					dest: '.temp/fonts/'
					expand: true
				,
					cwd: 'bower_components/html5shiv/dist/'
					src: 'html5shiv-printshiv.js'
					dest: '.temp/scripts/libs/'
					expand: true
				,
					cwd: 'bower_components/json3/lib/'
					src: 'json3.min.js'
					dest: '.temp/scripts/libs/'
					expand: true
				,
{'fraction_non_alphanumeric': 0.13583177887061218, 'fraction_numerical': 0.002034933016788197, 'mean_word_length': 2.086342229199372, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '5648469', 'n_tokens_mistral': 2873, 'n_tokens_neox': 1980, 'n_words': 503}