module.exports = function(grunt){
    grunt.initConfig({
        cssmin: {
            target: {
                expand: true,
                src: ['app/webroot/css/**/openslideshare*.css', '!*.min.css'],
                dest: './',
                ext: '.min.css'
            }
        },
        csslint: {
            strict: {
                options: {
                    import: 2
                },
                src: ['app/webroot/css/**/openslideshare*.css', '!app/webroot/**/*.min.css']
            },
            lax: {
                options: {
                    import: false
                },
                src: ['app/webroot/css/**/openslideshare*.css', '!app/webroot/**/*.min.css']
            }
        },
        clean: ["app/tmp/logs/*", "!app/tmp/**/.gitkeep"],
        shell: {
            reloadx: {
                command: './node_modules/.bin/livereloadx'
            }
        },
        watch: {
            css: {
                files: ['app/webroot/css/**/*.css'],
                tasks: ['cssmin']
            },
            script: {
                files: ['app/webroot/js/**/*.js'],
                tasks: ['uglify']
            }
        }
    });

    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-cssmin');
    grunt.loadNpmTasks('grunt-contrib-csslint');
    grunt.loadNpmTasks('grunt-contrib-clean');
    grunt.loadNpmTasks('grunt-shell');

    grunt.registerTask('default', ['watch']);
};

@@ -884,16 +884,368 @@
 eloadx'%0A
+            %7D,%0A            run_test: %7B%0A                command: 'app/Console/cake test --log-junit app/reports/unittest.xml app AllTests'%0A            %7D,%0A            run_test_full: %7B%0A                command: 'app/Console/cake test --log-junit app/reports/unittest.xml --coverage-html app/reports --coverage-clover app/reports/coverage.xml app AllTests'%0A
         

add several commands to run tests effectively. #33