aboutsummaryrefslogblamecommitdiffstats
path: root/library/moment/tasks/update_index.js
blob: c866e2694d82a54bcdcd22c9f668418be01e6ffb (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16















                                                             
module.exports = function (grunt) {
    grunt.config('copy.index-files', {
        expand: true,
        cwd: 'build/umd/',
        src: [
            'moment.js',
            'locale/*.js',
            'min/locales.js',
            'min/moment-with-locales.js',
            'min/tests.js'
        ],
        dest: '.'
    });

    grunt.registerTask('update-index', ['copy:index-files']);
};