Sha256: 701ed3d931bf2c2b940181cfd2c26f322705c2011c9074f570b0d845aba64a7f

Contents?: true

Size: 739 Bytes

Versions: 3

Compression:

Stored size: 739 Bytes

Contents

module.exports = function (grunt) {
    grunt.initConfig({
        nggettext_extract: {
            pot: {
                files: {
                    'app/assets/templates/locale/templates.pot': ['app/assets/templates/*.html']
                }
            }
        },
        nggettext_compile: {
            all: {
                options: {
                    module: "Dashboard"
                },
                files: {
                    'app/assets/javascripts/red_base/dashboard/locale/translations.js': ['app/assets/templates/locale/*.po']
                }
            }
        }

    });

    grunt.loadNpmTasks('grunt-angular-gettext');
    grunt.registerTask('default', ['nggettext_extract', 'nggettext_compile']);
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
red_base-0.6.0 lib/tasks/grunt/Gruntfile.js
red_base-0.5.1 lib/tasks/grunt/Gruntfile.js
red_base-0.5.0 lib/tasks/grunt/Gruntfile.js