From b10c2c9df4a7f3ddea9617f1bdae54a0cfb6e893 Mon Sep 17 00:00:00 2001 From: Alexis Lahouze Date: Thu, 13 Aug 2015 10:55:07 +0200 Subject: [PATCH] Cleanup grunt. --- Gruntfile.js | 4 ---- grunt-config/bower.js | 16 ---------------- grunt-config/bower_concat.js | 8 -------- grunt-config/concat.js | 15 --------------- 4 files changed, 43 deletions(-) delete mode 100644 grunt-config/bower.js delete mode 100644 grunt-config/bower_concat.js delete mode 100644 grunt-config/concat.js diff --git a/Gruntfile.js b/Gruntfile.js index c8d6c63..5dd4662 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -26,14 +26,10 @@ module.exports = function(grunt) { grunt.registerTask('generatestatic', [ 'shell:npm_install', - 'bower:install', - 'bower_concat', - //'copy:bootstrap-select.css.map', ]); grunt.registerTask('jsdev', [ 'jshint', - 'concat' ]); grunt.registerTask('dev', [ diff --git a/grunt-config/bower.js b/grunt-config/bower.js deleted file mode 100644 index b4ce4ac..0000000 --- a/grunt-config/bower.js +++ /dev/null @@ -1,16 +0,0 @@ -module.exports = { - install: { - options: { - copy: false - } - }, - frontend: { - dest: 'accountant/frontend/static/third-party', - - options: { - expand: true, - stripAffix: true, - keepExpandedHierarchy: false - } - } -}; diff --git a/grunt-config/bower_concat.js b/grunt-config/bower_concat.js deleted file mode 100644 index 88035f9..0000000 --- a/grunt-config/bower_concat.js +++ /dev/null @@ -1,8 +0,0 @@ -module.exports = { - main: { - dest: 'accountant/frontend/static/build/js/vendor.js', - cssDest: 'accountant/frontend/static/build/css/vendor.css', - dependencies: { - } - }, -}; diff --git a/grunt-config/concat.js b/grunt-config/concat.js deleted file mode 100644 index ddc9385..0000000 --- a/grunt-config/concat.js +++ /dev/null @@ -1,15 +0,0 @@ -module.exports = { - options: { - stripBanners: false, - banner: '<%= banner %>\n', - process: function(src, filepath) { - // Add comments with original filename. - return '// ### Begin: ' + filepath + ' ### //\n' + src + - '// ### End: ' + filepath + ' ### //\n'; - } - }, - frontend_js: { - src: '<%= paths.frontend_js %>', - dest: '<%= paths.frontend_build %>/js/app.js' - } -};