From 864fe60a157d44c9338a43b9f98cdc4ad9891777 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Thu, 9 Feb 2017 12:37:18 -0800 Subject: [PATCH] Write executable files to `dist/bin` (#1059) * update to fly@2.0.4 * write executable dist/bin files --- flyfile.js | 2 +- package.json | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/flyfile.js b/flyfile.js index f94aec9b..ec72c127 100644 --- a/flyfile.js +++ b/flyfile.js @@ -10,7 +10,7 @@ export async function compile(fly) { } export async function bin(fly, opts) { - await fly.source(opts.src || 'bin/*').babel().target('dist/bin') + await fly.source(opts.src || 'bin/*').babel().target('dist/bin', {mode: 0o755}) notify('Compiled binaries') } diff --git a/package.json b/package.json index d278f21f..6d99cb5c 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "chromedriver": "^2.26.1", "coveralls": "2.11.16", "cross-env": "^3.1.4", - "fly": "^2.0.3", + "fly": "^2.0.4", "fly-babel": "^2.1.1", "fly-clear": "^1.0.1", "fly-esnext": "^2.0.0", diff --git a/yarn.lock b/yarn.lock index 4878e0dc..9b26d9f5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2086,9 +2086,9 @@ fly-watch@^1.1.1: arrify "^1.0.1" chokidar "^1.6.1" -fly@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/fly/-/fly-2.0.3.tgz#a852589d21d2573b058bf0ba9c0055d9be8bf406" +fly@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/fly/-/fly-2.0.4.tgz#4d6bbc5f27a522a9f1fbd7e15d69badd1b3c2883" dependencies: bluebird "^3.4.7" clor "^5.0.1"