added missing modules for makepot task + added suport for plural forms in html templates + added all major i18n methods in twig
This commit is contained in:
30
tasks/makepot/node_modules/grunt/node_modules/grunt-legacy-util/Gruntfile.js
generated
vendored
Normal file
30
tasks/makepot/node_modules/grunt/node_modules/grunt-legacy-util/Gruntfile.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function(grunt) {
|
||||
|
||||
grunt.initConfig({
|
||||
jshint: {
|
||||
options: {
|
||||
jshintrc: '.jshintrc',
|
||||
},
|
||||
all: ['*.js', 'test/*.js'],
|
||||
},
|
||||
nodeunit: {
|
||||
util: ['test/index.js']
|
||||
},
|
||||
watch: {
|
||||
all: {
|
||||
files: ['<%= jshint.all %>'],
|
||||
tasks: ['test'],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
grunt.loadNpmTasks('grunt-contrib-jshint');
|
||||
grunt.loadNpmTasks('grunt-contrib-nodeunit');
|
||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||
|
||||
grunt.registerTask('test', ['jshint', 'nodeunit']);
|
||||
grunt.registerTask('default', ['test', 'watch']);
|
||||
|
||||
};
|
Reference in New Issue
Block a user