Skip to content
Snippets Groups Projects
tasks.js 925 B
Newer Older
richard.petersen's avatar
richard.petersen committed
/**
 * This work is provided under the terms of the CREATIVE COMMONS PUBLIC
 * LICENSE. This work is protected by copyright and/or other applicable
 * law. Any use of the work other than as authorized under this license
 * or copyright law is prohibited.
 *
 * http://creativecommons.org/licenses/by-nc-sa/2.5/
 * © 2016 OX Software GmbH, Germany. info@open-xchange.com
 *
 * @author David Bauer <david.bauer@open-xchange.com>
 * @author Julian Bäume <julian.baeume@open-xchange.com>
 */

'use strict';

module.exports = function (grunt) {

    //Override the default tasks

    // steps to build the ui (ready for development)
    grunt.registerTask('build', ['copy_build', 'less']);
    // create a package ready version of the ui (aka what jenkins does)
    grunt.registerTask('dist', ['clean', 'build', 'copy_dist']);
    //remove install:dynamic task (make it a noop)
    grunt.registerTask('install:dynamic', []);
};