Gulp Tools for Mr. Poole
.___ ___. .______ _-----_ | \/ | | _ \ | - - | | \ / | | |_) | | ω | | |\/| | | / | ___ | | | | | | |\ \ __ __'.___.'__ |__| |__| | _| `._\ (__) ´ >-< ` .______ ______ ______ __ _______ | _ \ / __ \ / __ \ | | | ____| | |_) | | | | | | | | | | | | |__ | ___/ | | | | | | | | | | | __| | | | `--' | | `--' | | `----.| |____ | _| \______/ \______/ |_______||_______|
For the Yeoman generator that set's up a Jekyll site for you, check out Mr. Poole, the Jekyll Site Generator.
Gulp tasks for the Mr. Poole Jekyll Generator, and can be used on any Jekyll site.
Install into your local repository.
$ npm install gulp-poole --save-dev
Put in your local gulpfile:
'use strict';var gulp = ;gulp;
For these tools to work you MUST create a
Settings can be overriden within a local
poole.json file. More details on the tools available soon.
To compile all of our Sass files using compass, use:
$ gulp sass
To ensure all of our images are optimized:
$ gulp images
To build our Jekyll site, and serve it using BrowserSync. This will watch our files and ensure the proper tasks are run for us on their change. It will also automatically update our site, without the need for a refresh, all through BrowserSync.
$ gulp server
To build our site for production, and save the result in
$ gulp build
To build the site for production, and deploy that code to our gh-pages branch for us:
$ gulp deploy