Permalink
Browse files

Using gulp.js instead of Grunt.

Back to compass & Sass instead of less.
  • Loading branch information...
1 parent 52d2c0f commit 4bd4e21cc35120da6483222d57a3c9f0fa60a332 @carlrafting committed Jan 10, 2014
View
@@ -1,92 +0,0 @@
-/*global module:false*/
-module.exports = function(grunt) {
-
- // Project configuration.
- grunt.initConfig({
- // Metadata.
- pkg: grunt.file.readJSON('package.json'),
-
- sass: {
- options: {
- compass: true
- },
-
- clean: {
- files: {
- 'css/global.css': 'scss/global.scss'
- }
- },
-
- prod: {
- options: {
- style: 'compressed'
- },
- files: {
- 'css/global.min.css': 'scss/global.scss'
- }
- },
-
- dev: {
- options: {
- debugInfo: true,
- lineNumbers: true
- },
- files: {
- 'css/global.dev.css': 'scss/global.scss'
- }
- }
- },
-
- less: {
- clean: {
- files: {
- 'css/global.css': 'less/global.less'
- }
- },
-
- development: {
- options: {
- dumpLineNumbers: 'all'
- },
-
- files: {
- 'css/global.dev.css': 'less/global.less'
- }
- },
-
- production: {
- options: {
- compress: true,
- yuicompress: true
- },
-
- files: {
- 'css/global.min.css': 'less/global.less'
- }
- }
- },
-
- watch: {
- less: {
- files: ['less/*.less', 'less/**/*.less'],
- tasks: 'less'
- },
-
- sass: {
- files: ['scss/*.scss', 'scss/**/*.scss'],
- tasks: 'sass'
- }
- }
- });
-
- // These plugins provide necessary tasks.
- grunt.loadNpmTasks('grunt-contrib-watch');
- grunt.loadNpmTasks('grunt-contrib-sass');
- grunt.loadNpmTasks('grunt-contrib-less');
-
- // Default task.
- grunt.registerTask('default', ['less']);
-
- grunt.registerTask('styles', ['watch:less']);
-
-};
View
@@ -0,0 +1,24 @@
+# Require any additional compass plugins here.
+
+# Set this to the root of your project when deployed:
+http_path = "/"
+css_dir = "css"
+sass_dir = "scss"
+images_dir = "img"
+javascripts_dir = "js"
+
+# You can select your preferred output style here (can be overridden via the command line):
+# output_style = :expanded or :nested or :compact or :compressed
+
+# To enable relative paths to assets via compass helper functions. Uncomment:
+# relative_assets = true
+
+# To disable debugging comments that display the original location of your selectors. Uncomment:
+line_comments = false
+
+
+# If you prefer the indented syntax, you might want to regenerate this
+# project again passing --syntax sass, or you can uncomment this:
+# preferred_syntax = :sass
+# and then run:
+# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
Oops, something went wrong. Retry.

0 comments on commit 4bd4e21

Please sign in to comment.