Makefile.js
function dist() {
	if (test('-d', DIST_DIR)) {
		rm('-r', DIST_DIR + '*');
	} else {
		mkdir(DIST_DIR);
	}

	[{
		name: DIST_NATIVE_NAME,
		files: SRC_NATIVE_FILES,
		testingFiles: TESTING_NATIVE_FILES
	}, {
		name: DIST_JQUERY_NAME,
		files: SRC_JQUERY_FILES,
		testingFiles: TESTING_JQUERY_FILES
	}, {
		name: DIST_NAME,
		files: SRC_NATIVE_FILES,
		testingFiles: TESTING_NATIVE_FILES
	}].forEach(function(config){
		generateDistFiles(config);
	});
}
function dist() {
	if (test('-d', DIST_DIR)) {
		rm('-r', DIST_DIR + '*');
	} else {
		mkdir(DIST_DIR);
	}

	[{
		name: DIST_NATIVE_NAME,
		files: SRC_NATIVE_FILES,
		testingFiles: TESTING_NATIVE_FILES
	}, {
		name: DIST_JQUERY_NAME,
		files: SRC_JQUERY_FILES,
		testingFiles: TESTING_JQUERY_FILES
	}, {
		name: DIST_NAME,
		files: SRC_NATIVE_FILES,
		testingFiles: TESTING_NATIVE_FILES
	}].forEach(function(config){
		generateDistFiles(config);
	});
}
function dist ( ) { if ( test ( '-d' , DIST_DIR ) ) { rm ( '-r' , DIST_DIR + '*' ) ; } else { mkdir ( DIST_DIR ) ; } [ { name : DIST_NATIVE_NAME , files : SRC_NATIVE_FILES , testingFiles : TESTING_NATIVE_FILES } , { name : DIST_JQUERY_NAME , files : SRC_JQUERY_FILES , testingFiles : TESTING_JQUERY_FILES } , { name : DIST_NAME , files : SRC_NATIVE_FILES , testingFiles : TESTING_NATIVE_FILES } ] . forEach ( function ( config ) { generateDistFiles ( config ) ; } ) ; }
Generate all distribution files
@private
Generate all distribution files