diff --git a/docs/getting-started/building.md b/docs/getting-started/building.md index 3a1cf947..fbb0838c 100644 --- a/docs/getting-started/building.md +++ b/docs/getting-started/building.md @@ -27,9 +27,10 @@ Our gulpfile includes the many tasks you can view with `gulp --tasks`, here are | Task | Description | | --- | --- | -| `gulp publish` | Run everything, publish dist, npm, and gh-pages | -| `gulp` | `gulp` runs the `default` task that builds all core files to the `dist` directory | +| `gulp` | runs the `default` task that builds all core files to the `dist` directory | | `gulp docs:default` | creates all the `docs/dist` files needed to support the documentation | +| `gulp all` | runs the `default` and `docs:default` tasks | +| `gulp publish` | Run all, publish dist, npm, and gh-pages | ## Local documentation diff --git a/gulp-docs.js b/gulp-docs.js index 65d4027a..95d61820 100644 --- a/gulp-docs.js +++ b/gulp-docs.js @@ -90,14 +90,11 @@ export default function (gulp, corePreset, options) { prefix) const defaultRecipes = new Aggregate(gulp, 'default', - series(gulp, - new Clean(gulp, preset, prefix), - parallel(gulp, - css, - js - ) + parallel(gulp, + css, + js ), - prefix) + prefix, {debug: false}) // docs copy new Aggregate(gulp, 'copy:bs-docs', diff --git a/gulpfile.babel.js b/gulpfile.babel.js index 272e3025..802bc40c 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -125,8 +125,8 @@ const defaultRecipes = new Aggregate(gulp, 'default', series(gulp, let docsDefaultRecipes = gulpDocs(gulp, preset, {rollupConfig: rollupConfig}) -// build - both core and docs -const build = new Aggregate(gulp, 'build', +// all - both core and docs +const all = new Aggregate(gulp, 'all', parallel(gulp, defaultRecipes, docsDefaultRecipes @@ -139,12 +139,12 @@ new Aggregate(gulp, 'publish', series(gulp, new Prepublish(gulp, preset), // asserts committed - build, + all, // ^^^docs:default cleans docs/dist, so we need to re-copy dist to docs in this scenario parallel(gulp, copyCssToDocs, copyJsToDocs), - new Jekyll(gulp, preset, {debug: true, options: {raw: 'baseurl: "/bootstrap-material-design"'}}), + new Jekyll(gulp, preset, {options: {raw: 'baseurl: "/bootstrap-material-design"'}}), new PublishBuild(gulp, preset, { npm: { @@ -154,7 +154,6 @@ new Aggregate(gulp, 'publish', }), new PublishGhPages(gulp, preset, { - debug: true, options: { remote: { repo: 'git@github.com:rosskevin/bootstrap-material-design.git' // FIXME: temporary, remove this option when we are deploying to our home repo diff --git a/package.json b/package.json index d6abcc5b..2742c7e2 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "babel-preset-es2015": "^6.6.0", "extend": "^3.0.0", "gulp": "github:gulpjs/gulp#4.0", - "gulp-pipeline": "^4.0.21", + "gulp-pipeline": "^4.0.22", "moment": "^2.12.0" }, "engines": {