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
// 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
"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",