From c67c0516996984f7eb0e4ce7dfdf48e03f7d1b65 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Sat, 22 Oct 2016 15:43:45 +0200 Subject: [PATCH] The binaries are made of JavaScript --- bin/{now-alias => now-alias.js} | 0 bin/{now-certs => now-certs.js} | 0 bin/{now-deploy => now-deploy.js} | 0 bin/{now-domains => now-domains.js} | 0 bin/{now-list => now-list.js} | 0 bin/{now-remove => now-remove.js} | 0 bin/{now-secrets => now-secrets.js} | 0 bin/{now-static => now-static.js} | 0 bin/{now => now.js} | 0 gulpfile.babel.js | 2 ++ package.json | 1 + 11 files changed, 3 insertions(+) rename bin/{now-alias => now-alias.js} (100%) rename bin/{now-certs => now-certs.js} (100%) rename bin/{now-deploy => now-deploy.js} (100%) rename bin/{now-domains => now-domains.js} (100%) rename bin/{now-list => now-list.js} (100%) rename bin/{now-remove => now-remove.js} (100%) rename bin/{now-secrets => now-secrets.js} (100%) rename bin/{now-static => now-static.js} (100%) rename bin/{now => now.js} (100%) diff --git a/bin/now-alias b/bin/now-alias.js similarity index 100% rename from bin/now-alias rename to bin/now-alias.js diff --git a/bin/now-certs b/bin/now-certs.js similarity index 100% rename from bin/now-certs rename to bin/now-certs.js diff --git a/bin/now-deploy b/bin/now-deploy.js similarity index 100% rename from bin/now-deploy rename to bin/now-deploy.js diff --git a/bin/now-domains b/bin/now-domains.js similarity index 100% rename from bin/now-domains rename to bin/now-domains.js diff --git a/bin/now-list b/bin/now-list.js similarity index 100% rename from bin/now-list rename to bin/now-list.js diff --git a/bin/now-remove b/bin/now-remove.js similarity index 100% rename from bin/now-remove rename to bin/now-remove.js diff --git a/bin/now-secrets b/bin/now-secrets.js similarity index 100% rename from bin/now-secrets rename to bin/now-secrets.js diff --git a/bin/now-static b/bin/now-static.js similarity index 100% rename from bin/now-static rename to bin/now-static.js diff --git a/bin/now b/bin/now.js similarity index 100% rename from bin/now rename to bin/now.js diff --git a/gulpfile.babel.js b/gulpfile.babel.js index d82e016..a85344e 100644 --- a/gulpfile.babel.js +++ b/gulpfile.babel.js @@ -3,6 +3,7 @@ import gulp from 'gulp' import del from 'del' import babel from 'gulp-babel' import help from 'gulp-task-listing' +import {crop as cropExt} from 'gulp-ext' gulp.task('help', help) @@ -19,6 +20,7 @@ gulp.task('compile-lib', () => gulp.task('compile-bin', () => gulp.src('bin/*') .pipe(babel()) + .pipe(cropExt()) .pipe(gulp.dest('build/bin'))) gulp.task('watch-lib', () => gulp.watch('lib/**/*.js', ['compile-lib'])) diff --git a/package.json b/package.json index a7ef2a7..35058f1 100644 --- a/package.json +++ b/package.json @@ -108,6 +108,7 @@ "estraverse-fb": "1.3.1", "gulp": "3.9.1", "gulp-babel": "6.1.2", + "gulp-ext": "1.0.0", "gulp-task-listing": "1.0.1", "pkg": "3.0.0-beta.14", "xo": "0.17.0"