<commit_before>module.exports = function(grunt) {

	grunt.initConfig({
		pkg : grunt.file.readJSON('package.json'),
		jshint : {
			files : ['dojoConfig.js', 'config.js', 'index.js', 'gruntfile.js', 'bcmvcd/**/*.js', 'tests/dijits/*.js', 'gic/**/*.js'],
			options : {
				smarttabs : true,
				white : false,
				globals : {
					console : true,
					module : true,
					document : true
				}
			}
		},
		open : {
			test : {
				path : 'http://<%= connect.options.hostname %>:<%= connect.options.port %>/_SpecRunner.html'
			},
			docs : {
				path : 'http://<%= connect.options.hostname %>:<%= connect.options.port %>/docs/'
			},
			examples : {
				path : 'http://<%= connect.options.hostname %>:<%= connect.options.port %>/examples/'
			}
		},
		connect : {
			test : {},
			docs : {},
			examples : {},
			all : {
				options : {
					keepalive : true
				}
			},
			options : {
				hostname : '127.0.0.1',
				port : 8020,
				keepalive : false
			}
		},
		jasmine : {
			src : 'dojoConfig.js',
			options : {
				specs : ['tests/dijits/*.js', 'gic/tests/**/*.js'],		
				outfile : 'asdf.html'
				//vendors :  'https://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2'
				//vendors :  ['dojoConfig.js', 'http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2']
				//host : 'http://127.0.0.1:8020/'
			}
		},
		watch : {
			files : ['src/**/*.js', 'examples/**/*.js', 'gruntfile.js'],
			tasks : ['jshint', 'jasmine:src']
		}
	});

	grunt.loadNpmTasks('grunt-open');
	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-jasmine');
	grunt.loadNpmTasks('grunt-contrib-connect');

	//grunt.registerTask('test', ['jshint']);

	//grunt.registerTask('default', ['jshint', 'concat', 'uglify']);

	grunt.registerTask('default', ['test']);
	//grunt.registerTask('test', ['connect:test', 'jasmine:all', 'jasmine:all:build', 'open:test', 'watch:test']);
	grunt.registerTask('test', ['jshint', 'jasmine:src', 'watch']);

};<commit_msg>fix gruntfile<commit_after>module.exports = function(grunt) {

	grunt.initConfig({
		pkg : grunt.file.readJSON('package.json'),
		jshint : {
			files : ['src/**/*.js', 'examples/**/*.js', 'examples/**/*.js', 'specs/**/*.js', 'gruntfile.js'],
			options : {
				smarttabs : true,
				white : false,
				globals : {
					console : true,
					module : true,
					document : true
				}
			}
		},
		jasmine : {
			src : 'dojoConfig.js',
			options : {
				specs : 'specs/*.js'	
			}
		},
		watch : {
			files : ['src/**/*.js', 'examples/**/*.js', 'gruntfile.js'],
			tasks : ['jshint', 'jasmine:src']
		}
	});

	grunt.loadNpmTasks('grunt-contrib-jshint');
	grunt.loadNpmTasks('grunt-contrib-watch');
	grunt.loadNpmTasks('grunt-contrib-jasmine');

	grunt.registerTask('default', ['test']);
	grunt.registerTask('test', ['jshint', 'jasmine:src', 'watch']);

};
{'fraction_non_alphanumeric': 0.23098492814581142, 'fraction_numerical': 0.008412197686645636, 'mean_word_length': 3.0888252148997135, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3542476', 'n_tokens_mistral': 1311, 'n_tokens_neox': 1100, 'n_words': 155}