]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Add grunt-contrib-concat plugin
authorIgor Lima <igor.lima@evolut.io>
Tue, 19 Feb 2013 17:04:01 +0000 (14:04 -0300)
committerIgor Lima <igor.lima@evolut.io>
Tue, 19 Feb 2013 17:04:01 +0000 (14:04 -0300)
Gruntfile.js
package.json

index cb3fc5c8ee390565a336e9ca279390c1598713f2..eec6bea874ddbe21e10b395b782a9e0491f103ff 100644 (file)
@@ -22,7 +22,7 @@ module.exports = function (grunt) {
 
     grunt.initConfig({
         pkg: grunt.file.readJSON('package.json'),
-        concatlang : {
+        concat : {
             langs: {
                 src: ['lang/*.js'],
                 dest: 'min/langs.js'
@@ -99,10 +99,11 @@ module.exports = function (grunt) {
     // These plugins provide necessary tasks.
     grunt.loadNpmTasks('grunt-contrib-nodeunit');
     grunt.loadNpmTasks('grunt-contrib-jshint');
+    grunt.loadNpmTasks('grunt-contrib-concat');
 
     // Default task.
     grunt.registerTask('default', ['jshint', 'nodeunit']);
 
     // Task to be run when releasing a new version
-    grunt.registerTask('release', ['jshint', 'nodeunit', 'minwithcomments', 'concatlang', 'minlang']);
+    grunt.registerTask('release', ['jshint', 'nodeunit', 'minwithcomments', 'concat', 'minlang']);
 };
index 1faa8ef666611d863fb756dd6e3e0335554a7a29..f7606bcb0a89347fe96e9f8eee37bcce39fa3790 100755 (executable)
@@ -39,7 +39,8 @@
         "uglify-js" : "1.3.4",
         "grunt"     : "latest",
         "grunt-contrib-jshint"   : "latest",
-        "grunt-contrib-nodeunit" : "latest"
+        "grunt-contrib-nodeunit" : "latest",
+        "grunt-contrib-concat"   : "latest"
     },
     "scripts": {
         "test": "grunt"