]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Add inky-browser to docs
authorKevin Ball <kmball11@gmail.com>
Thu, 1 Sep 2016 22:53:52 +0000 (15:53 -0700)
committerKevin Ball <kmball11@gmail.com>
Thu, 1 Sep 2016 22:53:52 +0000 (15:53 -0700)
gulpfile.js
package.json

index d0624f6529fa1dceb800c988593da02ed8f5bed4..3ec515c2df13724942e873b3e0817da572f9b843 100644 (file)
@@ -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
index 7df5fc34e1f3d1383b72d4d905fd8b572090a78f..dc9fbee471f22d494c7fb258913dbeae4815c6f9 100644 (file)
@@ -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",