1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Write executable files to dist/bin (#1059)

* update to fly@2.0.4

* write executable dist/bin files
This commit is contained in:
Luke Edwards 2017-02-09 12:37:18 -08:00 committed by Tim Neutkens
parent 839fb1c05c
commit 864fe60a15
3 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ export async function compile(fly) {
} }
export async function bin(fly, opts) { 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') notify('Compiled binaries')
} }

View file

@ -95,7 +95,7 @@
"chromedriver": "^2.26.1", "chromedriver": "^2.26.1",
"coveralls": "2.11.16", "coveralls": "2.11.16",
"cross-env": "^3.1.4", "cross-env": "^3.1.4",
"fly": "^2.0.3", "fly": "^2.0.4",
"fly-babel": "^2.1.1", "fly-babel": "^2.1.1",
"fly-clear": "^1.0.1", "fly-clear": "^1.0.1",
"fly-esnext": "^2.0.0", "fly-esnext": "^2.0.0",

View file

@ -2086,9 +2086,9 @@ fly-watch@^1.1.1:
arrify "^1.0.1" arrify "^1.0.1"
chokidar "^1.6.1" chokidar "^1.6.1"
fly@^2.0.3: fly@^2.0.4:
version "2.0.3" version "2.0.4"
resolved "https://registry.yarnpkg.com/fly/-/fly-2.0.3.tgz#a852589d21d2573b058bf0ba9c0055d9be8bf406" resolved "https://registry.yarnpkg.com/fly/-/fly-2.0.4.tgz#4d6bbc5f27a522a9f1fbd7e15d69badd1b3c2883"
dependencies: dependencies:
bluebird "^3.4.7" bluebird "^3.4.7"
clor "^5.0.1" clor "^5.0.1"