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:
Jonathan Labreuille
2015-07-29 19:15:21 +02:00
parent acc3854ba9
commit ec20abb1ee
868 changed files with 178636 additions and 71 deletions

View 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']);
};