Files
workbox/gulpfile.js
T
Matt GauntandGitHub 71b24d7a6a The Future is Now (#71)
* Super-early exploration

* Move to require() instead of import for the build scripts

* Adding an assert library

* Bump up the documentation dependency

* Add some configuration/assertions

* Add some configuration/assertions

* Another checkpoint.

* More bits.

* Bug fixes!

* CacheManager -> CacheWrapper

* Manager -> Behavior

* Pass the (non-false) result of when to the handler as {params}

* Manager -> Behavior

* Add a RegExpRoute class

* Bug fixes + cleanup

* Docs (#46)

* Deploy to GitHub Pages

* First attempt at jsdoc integration

* Just removing docs for now - creates a lot of noise

* Fixing linting issues

* Gulp clean (#49)

* Deploy to GitHub Pages

* Removing jsdoc and docs

* Fixes unit tests

* Adding browser download to gulpfile

* Minor console log tweak

* Updating selenium assistant to make gulp download work

* Minify (#53)

* First attempt and minified build

* Removing old modules

* Changing minification for babili (#55)

* Changing minification for babili

* External sourcemap and tidy up of code

* Adding license header file

* Removing unused dep

* Updating to latest google styleguide (#56)

* Cleaner build (#57)

* Pulling out minified JS Bundle

* Moving to shared build config. Still needs some work

* Moving to modular gulp taks and shared build

* Removing travis typo

* Removing travis TODO

* Latest syntax/interface updates (#58)

* WIP

* Some more updates to match the latest spec

* Latest sw-routing updates

* Latest sw-runtime-caching updates

* Add .min. to output .js file

* Broadcast cache update changes

* Use .bind() to ensure this is set inside of callback

* Syntax tweaks

* Demo updates

* CacheWrapper => RequestWrapper

* CacheWrapper => RequestWrapper

* Lint cleanup

* JSDoc for the sw-broadcast-cache-update project.

* Linting updates

* Removes predicates, adds ExpressRoute (#62)

* Removes predicates, adds ExpressRoute

* Linting fixes

* Jsdocs (#63)

* Adding current changes to the jsdoc

* Fixing up modules and JSDoc

* Bumping selenium-assistant version

* Lerna (#65)

* First shift to lerna

* Fixing build from heap overflow

* Setting up some stuff for lerna release

* Got the building of tools with copy license into each

* Adding files for publishing

* v0.0.1

* Resetting the package.json

* v0.0.1

* Changing version number

* v0.0.3

* Adding the Gemfile.lock

* Add a warning about sw-precaching not being ready.

* JSDoc for sw-runtime-caching

* sw-broadcast-cache-update demo

* Updated the package.json description of sw-cache-expiration

* Linting fixes.

* Repo-level README updates

* Documentation updates

* Linting updates

* v0.0.4

* changing gulp serve directory (#66)

* Moved over to newer JS build process (#68)

* Moved over to newer JS build process

* Fixing up the lint errors

* Use Rollup's moduleName instead of the homegrown scope helper.

* Adding back in in the analytics suite (#69)

* Adding back in in the analytics suite

* Fixing selenium url

* Fixing lint issue

* Removing sinon

* Fixing feedback

* Tests (#70)

* Adding reesilience to tests

* Adding retries for sw-appcache behavior as well

* Fixing multiple windows on retires

* Moving driver get to a test
2016-11-18 10:15:51 -08:00

36 lines
1.2 KiB
JavaScript

/*
Copyright 2016 Google Inc. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/* eslint-disable no-console, valid-jsdoc */
const gulp = require('gulp');
const minimist = require('minimist');
const runSequence = require('run-sequence');
const options = minimist(process.argv.slice(2));
global.port = options.port || 3000;
global.projectOrStar = options.project || '*';
global.cliOptions = options;
require('./gulp-tasks/lint.js');
require('./gulp-tasks/build.js');
require('./gulp-tasks/test.js');
require('./gulp-tasks/documentation.js');
require('./gulp-tasks/serve.js');
gulp.task('default', (callback) => {
runSequence(['lint', 'test'], 'documentation', callback);
});