Somewhere along the way the code to build the locales got removed
Adding it back again.
This commit is contained in:
parent
d00f2d1c3d
commit
7eb453efa1
14
Gruntfile.js
14
Gruntfile.js
|
@ -32,8 +32,22 @@ module.exports = function(grunt) {
|
|||
dest: 'css/converse.min.css',
|
||||
src: ['css/converse.css']
|
||||
}
|
||||
},
|
||||
json: {
|
||||
main: {
|
||||
options: {
|
||||
namespace: 'locales',
|
||||
includePath: true,
|
||||
processName: function(filename) {
|
||||
return filename.toLowerCase().match(/^locale\/(.*)\/lc_messages/)[1];
|
||||
}
|
||||
},
|
||||
src: ['locale/**/LC_MESSAGES/*.json'],
|
||||
dest: 'builds/locales.js'
|
||||
}
|
||||
}
|
||||
});
|
||||
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
||||
grunt.loadNpmTasks('grunt-contrib-jst');
|
||||
grunt.loadNpmTasks('grunt-json');
|
||||
};
|
||||
|
|
1
Makefile
1
Makefile
|
@ -170,6 +170,7 @@ converse:: stamp-npm
|
|||
build:: stamp-npm
|
||||
$(GRUNT) jst
|
||||
$(GRUNT) cssmin
|
||||
$(GRUNT) json
|
||||
make jsmin
|
||||
|
||||
########################################################################
|
||||
|
|
11124
builds/locales.js
11124
builds/locales.js
File diff suppressed because one or more lines are too long
|
@ -37,6 +37,7 @@
|
|||
"grunt-cli": "~0.1.13",
|
||||
"grunt-contrib-cssmin": "~0.9.0",
|
||||
"grunt-contrib-jst": "~0.6.0",
|
||||
"grunt-json": "^0.1.3",
|
||||
"http-server": "^0.7.4",
|
||||
"jshint": "^2.8.0",
|
||||
"less": "~1.7.0",
|
||||
|
|
Loading…
Reference in New Issue
Block a user