From b3f356e91e7e4c5d84925ff6d96075f4822154fe Mon Sep 17 00:00:00 2001 From: Nicolas Mollet Date: Mon, 28 Jul 2014 22:54:04 +0200 Subject: [PATCH] Splitted Strombringer styles in two files --- Gruntfile2.js | 85 --------------------------------------------------- 1 file changed, 85 deletions(-) delete mode 100644 Gruntfile2.js diff --git a/Gruntfile2.js b/Gruntfile2.js deleted file mode 100644 index 36f7ae1..0000000 --- a/Gruntfile2.js +++ /dev/null @@ -1,85 +0,0 @@ -module.exports = function(grunt) { - - // 1. All configuration goes here - grunt.initConfig({ - pkg: grunt.file.readJSON('package.json'), - - // Combine our javascript files into one - concat: { - dist: { - src: [ - 'js/common.js', // Common - 'js/bootstrap-loadimage.js', // Bootstrap Image Load - 'js/bootstrap-modalgallery.js', // Bootstrap Modal Gallery - 'js/bootstrap-modalopen.js', // Bootstrap Modal - 'js/app.js', // Custom JS - ], - dest: 'js/production.js', - } - }, - - // Minify javascript - uglify: { - build: { - src: 'js/production.js', - dest: 'js/production.min.js' - } - }, - - sass: { - dist: { - options: { - style: 'expanded' - }, - files: { - 'css/application.css': 'scss/application.scss' - } - } - }, - - - cssmin: { - combine: { - files: { - 'css/application.min.css': ['css/application.css'] - } - } - }, - - watch: { - options: { - livereload : 8080, - }, - - scripts: { - files: ['js/*.js'], - tasks: ['concat', 'uglify'], - options: { - spawn: false, - }, - }, - - css: { - files: ['scss/*.scss'], - tasks: ['sass', 'cssmin'], - options: { - spawn: false, - } - }, - - } - - }); - - // 3. Where we tell Grunt we plan to use this plug-in. - grunt.loadNpmTasks('grunt-contrib-concat'); - grunt.loadNpmTasks('grunt-contrib-uglify'); - grunt.loadNpmTasks('grunt-contrib-sass'); - grunt.loadNpmTasks('grunt-contrib-cssmin'); - grunt.loadNpmTasks('grunt-contrib-watch'); - - - // 4. Where we tell Grunt what to do when we type "grunt" into the terminal. - grunt.registerTask('default', ['concat', 'uglify', 'sass', 'cssmin', 'watch']); - -};