Commit e8e7bcda authored by Boris Kocherov's avatar Boris Kocherov

use erp5css.less instead gadget_erp5_nojqm.css

parent 19435529
gadget_erp5_nojqm.css
renderjs.js
rsvp.js
jio.js
......
......@@ -28,6 +28,7 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-qunit');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-less');
grunt.loadNpmTasks('grunt-open');
grunt.initConfig({
......@@ -80,6 +81,13 @@ module.exports = function (grunt) {
}
}
},
less: {
production: {
files: {
'gadget_erp5_nojqm.css': 'erp5css.less'
}
}
},
copy: {
dependencies: {
......@@ -153,7 +161,7 @@ module.exports = function (grunt) {
});
grunt.registerTask('default', ['all']);
grunt.registerTask('all', ['lint']);
grunt.registerTask('all', ['less', 'lint']);
grunt.registerTask('lint', ['jslint']);
grunt.registerTask('test', ['copy', 'qunit']);
grunt.registerTask('server', ['connect:client', 'watch']);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment