npm

gulp-poole

1.0.0 • Public • Published

Gulp Tools for Mr. Poole

NPM version Build Status License MIT Downloads

.___  ___. .______                    _-----_
|   \/   | |   _  \                   | - - |
|  \  /  | |  |_)  |                  |  ω  |
|  |\/|  | |      /                   | ___ |
|  |  |  | |  |\  \     __          __'.___.'__
|__|  |__| | _| `._\   (__)        ´    >-<    `

.______     ______     ______    __       _______
|   _  \   /  __  \   /  __  \  |  |     |   ____|
|  |_)  | |  |  |  | |  |  |  | |  |     |  |__
|   ___/  |  |  |  | |  |  |  | |  |     |   __|
|  |      |  `--'  | |  `--'  | |  `----.|  |____
| _|       \______/   \______/  |_______||_______|

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.

Usage

Install into your local repository.

$ npm install gulp-poole --save-dev

Put in your local gulpfile:

'use strict';
 
var gulp = require('gulp');
require('gulp-poole')(gulp);

Required files

For these tools to work you MUST create a _config.dev.yml. You can use this to override any settings for local development that you do not want for deployment. For example, you can prevent jekyll-assets from uglifying your JavaScript by overriding the setting.

Settings

Settings can be overriden within a local poole.json file. More details on the tools available soon.

Tasks

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 _site:

$ gulp build

To build the site for production, and deploy that code to our gh-pages branch for us:

$ gulp deploy

License

MIT

Package Sidebar

Install

npm i gulp-poole

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • iamcarrico