- // Project configuration.
- grunt.initConfig({
- pkg: grunt.file.readJSON('package.json'),
- uglify: {
- options: {
- banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
- mangle: false
- },
- app: {
- files: {
- '../app/lib.min.js': ['BooksModel.js', 'BooksView.js', 'PagingController.js', 'SearchController.js', 'ToolTip.js', 'Main.js']
- }
- }
- }
- });
+ // Project configuration.
+ grunt.initConfig({
+ concat: {
+ all: {
+ src: ['src/**/*.js', 'Main.js'],
+ dest: '../app/all.js',
+ nonull: true
+ },
+ tests: {
+ src: ['src/**/*.js', 'test/**/*.js'],
+ dest: 'all_tests.js',
+ nonull: true
+ },
+ },
+
+ pkg: grunt.file.readJSON('package.json'),