diff options
| author | Aaron Bohy <aab@odoo.com> | 2016-04-08 14:53:34 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2016-04-21 15:21:39 +0200 |
| commit | 977db823c7c84e9edc7c8cf8384eb9cf47275b3a (patch) | |
| tree | c3312f745baf11d51f976a60d6e285480f557d4c /addons/web/Gruntfile.js | |
| parent | e1bfd3fbda97ac7a64a585b07be161d5be606cf9 (diff) | |
[REF] web: stop duplicating web
Avoid duplicating web addon in enterprise by extracting a common basis.
Enterprise features stay in enterprise, but use that common basis.
Mainly:
- JS refactoring and linting
- Conversion of .sass into .less split into multiple files
- Templates cleaning and DOM simplification
- Re-generation of web.pot, and update of .po files
Diffstat (limited to 'addons/web/Gruntfile.js')
| -rw-r--r-- | addons/web/Gruntfile.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/addons/web/Gruntfile.js b/addons/web/Gruntfile.js index 54112dae3a0..f964df4dae2 100644 --- a/addons/web/Gruntfile.js +++ b/addons/web/Gruntfile.js @@ -9,30 +9,10 @@ module.exports = function(grunt) { laxbreak: true, //unsafe line breaks }, }, - sass: { - dev: { - options: { - style: "expanded", - }, - files: { - "static/src/css/base.css": "static/src/css/base.sass", - } - } - }, - watch: { - sass: { - files: ["static/src/css/base.sass"], - tasks: ['sass'] - }, - } }); grunt.loadNpmTasks('grunt-contrib-jshint'); - grunt.loadNpmTasks('grunt-contrib-sass'); - grunt.loadNpmTasks('grunt-contrib-watch'); - grunt.registerTask('gen', ["sass"]); - grunt.registerTask('watcher', ["gen", "watch"]); grunt.registerTask('test', []); grunt.registerTask('default', ['jshint']); |
