diff options
| author | Barry Clark <barry@barryclark.co> | 2014-02-06 19:18:00 -0500 |
|---|---|---|
| committer | Barry Clark <barry@barryclark.co> | 2014-02-06 19:18:00 -0500 |
| commit | 72ac45045456bdbbbecb38db2e62e113f22f37d4 (patch) | |
| tree | 048e5ed7634e6c048c88813291a390078bdc23d9 /Gruntfile.js | |
| download | acn-blog-72ac45045456bdbbbecb38db2e62e113f22f37d4.tar.gz acn-blog-72ac45045456bdbbbecb38db2e62e113f22f37d4.tar.bz2 acn-blog-72ac45045456bdbbbecb38db2e62e113f22f37d4.zip | |
First commit of base theme.
Diffstat (limited to 'Gruntfile.js')
| -rw-r--r-- | Gruntfile.js | 30 |
1 files changed, 30 insertions, 0 deletions
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"); +}; |
