Author: ralfbecker
New Revision: 55968
URL: http://svn.stylite.de/viewvc/egroupware?rev=55968&view=rev
Log:
using grunt-hub to run default tasks of Gruntfile.js of apps
Modified:
trunk/egroupware/Gruntfile.js
— trunk/egroupware/Gruntfile.js (original)
+++ trunk/egroupware/Gruntfile.js Mon May 2 12:28:35 2016
@@ -12,10 +12,12 @@
-
-
npm init # create package.json and node_modules directory for local installs
-
npm install grunt --save-dev
-
npm install grunt-contrib-uglify --save-dev
-
npm install grunt-newer --save-dev
-
npm install grunt-contrib-cssmin --save-dev
-
@@ -380,6 +382,11 @@
]
}
}
-
},
-
hub: {
-
all: {
-
src: ['*/Gruntfile.js']
-
}
}
});
// Load the plugin that provides the “uglify” task.
@@ -391,6 +398,9 @@
// Load the plugin that runs tasks only on modified files
grunt.loadNpmTasks(‘grunt-newer’);
-
// run Gruntfile.js in apps / sub-directories
-
grunt.loadNpmTasks(‘grunt-hub’);
-
// Default task(s).
- grunt.registerTask(‘default’, [‘newer:uglify’, ‘newer:cssmin’]);
- grunt.registerTask(‘default’, [‘newer:uglify’, ‘newer:cssmin’, ‘hub’]);
};
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs