From 72ac45045456bdbbbecb38db2e62e113f22f37d4 Mon Sep 17 00:00:00 2001 From: Barry Clark Date: Thu, 6 Feb 2014 19:18:00 -0500 Subject: First commit of base theme. --- Gruntfile.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Gruntfile.js (limited to 'Gruntfile.js') diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..663cb1a --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,30 @@ + +module.exports = function(grunt) { + grunt.initConfig({ + pkg: grunt.file.readJSON("package.json"), + + watch: { + sass: { + files: ["scss/**/*.{scss,sass}"], + tasks: ["sass:dev"] + } + }, + + sass: { + dev: { + options: { + style: 'nested' + }, + files: { + '_site/style.css': 'scss/style.scss', + 'style.css': 'scss/style.scss' + } + }, + }, + }); + + grunt.registerTask("default", ["watch"]); + + grunt.loadNpmTasks('grunt-sass'); + grunt.loadNpmTasks("grunt-contrib-watch"); +}; -- cgit v1.2.3