From: Kevin Ball Date: Thu, 1 Sep 2016 22:53:52 +0000 (-0700) Subject: Add inky-browser to docs X-Git-Tag: v2.3.0~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97966b7182f32d7e3e08db885a1ce60e7ac9378c;p=thirdparty%2Ffoundation%2Ffoundation-emails.git Add inky-browser to docs --- diff --git a/gulpfile.js b/gulpfile.js index d0624f65..3ec515c2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -46,6 +46,12 @@ gulp.task('clean', function(cb) { gulp.task('copy', function() { return gulp.src(['docs/assets/**/*', '!docs/assets/scss/**/*', '!docs/assets/js/**/*']) .pipe(gulp.dest('_build/assets')); + }); + +// Copies inky-browser +gulp.task('copy-inky', function() { + return gulp.src(['node_modules/inky/dist/inky-browser.js']) + .pipe(gulp.dest('_build/assets/js')); }); // Builds documentation pages @@ -128,7 +134,7 @@ gulp.task('deploy:docs', ['build'], function() { // Runs the entire build process gulp.task('build', function(cb) { - sequence('clean', ['copy', 'html', 'sass', 'javascript:docs'], cb); + sequence('clean', ['copy', 'copy-inky', 'html', 'sass', 'javascript:docs'], cb); }); // Runs the build process, spins up a server, and watches for file changes diff --git a/package.json b/package.json index 7df5fc34..dc9fbee4 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "gulp-sourcemaps": "^1.6.0", "gulp-wrap": "^0.11.0", "gulp-zip": "^3.2.0", - "inky": "^1.3.6", + "inky": "zurb/inky#browser-build", "lazypipe": "^1.0.1", "motion-ui": "^1.1.1", "multiline": "^1.0.2",