<commit_before>/*
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*global module:false*/
module.exports = function(grunt) {

	var meta= {
		banner:'/* \n' +
			'*  Copyright 2012-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;\n' +
			'*\n' +
			'* Licensed under the Apache License, Version 2.0 (the "License");\n' +
			'* you may not use this file except in compliance with the License.\n' +
			'* You may obtain a copy of the License at\n' +
			'*\n' +
			'* http://www.apache.org/licenses/LICENSE-2.0\n' +
			'*\n' +
			'* Unless required by applicable law or agreed to in writing, software\n' +
			'* distributed under the License is distributed on an "AS IS" BASIS,\n' +
			'* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n' +
			'* See the License for the specific language governing permissions and \n' +
			'* limitations under the License.\n' +
			'*/\n'
	};

	// Project configuration.
	grunt.config.init({
		pkg: grunt.file.readJSON('package.json'),
		
		lint: {
			files: ['Gruntfile.js', 'src/plugins/**/*.js', 'tests/**/*.js']
		},
		htmllint: {
			all: ["kitchensink/*.html", "samples/*.html"]
		},
		concat: {
			options:{
				banner: meta.banner,
				stripBanners: 'true'
			},
			
			less: {
				src: ['src/less/variables.less',
					'src/less/mixins.less', 'src/less/swatches.less',
					'src/less/button.less', 'src/less/titlebar.less',
					'src/less/textinput.less', 'src/less/segmentedcontrol.less',
					'src/less/list.less', 'src/less/slider_toggle.less',
					'src/less/radiocheck.less','src/less/containers.less',
					'src/less/pageloader.less','src/less/controlgroup.less',
					'src/less/collapsible.less','src/less/misc.less', 'src/less/oled.less'
				],
				dest: 'compiled/<%= pkg.name %>.less'
			},
			theme_js: {
				src: [
					'src/plugins/actionbar/jquery.mobile.actionbar.js',
					'src/plugins/activityIndicator/jquery.mobile.activityindicator.js',
					'src/plugins/buttonGroup/jquery.mobile.buttonGroup.js',
					'src/plugins/gridview/jquery.mobile.gridview.js',
					'src/plugins/inputValidator/jquery.mobile.inputValidator.js',
					'src/plugins/progressbar/jquery.mobile.progressbar.js',
					'src/plugins/dropdown/jquery.mobile.dropdown.js',
					'src/plugins/applicationmenu/jquery.mobile.applicationmenu.js'
				],
				dest: 'compiled/<%= pkg.name %>.js'
			},
			theme_css : {
				src: [ '<%= less.all.dest %>',
					'src/plugins/actionbar/jquery.mobile.actionbar.css',
					'src/plugins/activityIndicator/jquery.mobile.activityindicator.css',
					'src/plugins/buttonGroup/jquery.mobile.buttonGroup.css',
					'src/plugins/gridview/jquery.mobile.gridview.css',
					'src/plugins/inputValidator/jquery.mobile.inputValidator.css',
					'src/plugins/overflowMenu/jquery.mobile.overflowMenu.css',
					'src/plugins/progressbar/jquery.mobile.progressbar.css',
					'src/transitions/jquery.mobile.transition.cover.css',
					'src/plugins/dropdown/jquery.mobile.dropdown.css',
					'src/plugins/applicationmenu/jquery.mobile.applicationmenu.css'
				],
				dest: 'compiled/<%= pkg.name %>.css'<commit_msg>Grunt: Removing unneeded list of files replacing with glob<commit_after>/*
* Copyright 2012 Research In Motion Limited.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*global module:false*/
module.exports = function(grunt) {

	var meta= {
		banner:'/* \n' +
			'*  Copyright 2012-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;\n' +
			'*\n' +
			'* Licensed under the Apache License, Version 2.0 (the "License");\n' +
			'* you may not use this file except in compliance with the License.\n' +
			'* You may obtain a copy of the License at\n' +
			'*\n' +
			'* http://www.apache.org/licenses/LICENSE-2.0\n' +
			'*\n' +
			'* Unless required by applicable law or agreed to in writing, software\n' +
			'* distributed under the License is distributed on an "AS IS" BASIS,\n' +
			'* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n' +
			'* See the License for the specific language governing permissions and \n' +
			'* limitations under the License.\n' +
			'*/\n'
	};

	// Project configuration.
	grunt.config.init({
		pkg: grunt.file.readJSON('package.json'),
		
		lint: {
			files: ['Gruntfile.js', 'src/plugins/**/*.js', 'tests/**/*.js']
		},
		htmllint: {
			all: ["kitchensink/*.html", "samples/*.html"]
		},
		concat: {
			options:{
				banner: meta.banner,
				stripBanners: 'true'
			},
			
			less: {
				src: ['src/less/variables.less',
					'src/less/mixins.less', 'src/less/swatches.less',
					'src/less/button.less', 'src/less/titlebar.less',
					'src/less/textinput.less', 'src/less/segmentedcontrol.less',
					'src/less/list.less', 'src/less/slider_toggle.less',
					'src/less/radiocheck.less','src/less/containers.less',
					'src/less/pageloader.less','src/less/controlgroup.less',
					'src/less/collapsible.less','src/less/misc.less', 'src/less/oled.less'
				],
				dest: 'compiled/<%= pkg.name %>.less'
			},
			theme_js: {
				src: ['src/plugins/**/*.js'],
				dest: 'compiled/<%= pkg.name %>.js'
			},
			theme_css : {
				src: [ '<%= less.all.dest %>',
					'src/plugins/actionbar/jquery.mobile.actionbar.css',
					'src/plugins/activityIndicator/jquery.mobile.activityindicator.css',
					'src/plugins/buttonGroup/jquery.mobile.buttonGroup.css',
					'src/plugins/gridview/jquery.mobile.gridview.css',
					'src/plugins/inputValidator/jquery.mobile.inputValidator.css',
					'src/plugins/overflowMenu/jquery.mobile.overflowMenu.css',
					'src/plugins/progressbar/jquery.mobile.progressbar.css',
					'src/transitions/jquery.mobile.transition.cover.css',
					'src/plugins/dropdown/jquery.mobile.dropdown.css',
					'src/plugins/applicationmenu/jquery.mobile.applicationmenu.css'
				],
				dest: 'compiled/<%= pkg.name %>.css'
{'fraction_non_alphanumeric': 0.15939695550351288, 'fraction_numerical': 0.00468384074941452, 'mean_word_length': 3.397039897039897, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '3652393', 'n_tokens_mistral': 2595, 'n_tokens_neox': 2201, 'n_words': 502}