diff options
author | Fabio Berger <me@fabioberger.com> | 2018-05-15 01:33:45 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-05-15 01:33:45 +0800 |
commit | 8cb074657d39352314d614f6cb27e3aaf56b8de6 (patch) | |
tree | 9b9b7d35f7afdb0b0593024d423506d183507eb8 | |
parent | 5f72b86ce427c6361bacc852002b777fd1d6defa (diff) | |
download | dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.gz dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.tar.zst dexon-0x-contracts-8cb074657d39352314d614f6cb27e3aaf56b8de6.zip |
Rename bin to server in testnet-faucets since bin is no longer gitignored
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | packages/testnet-faucets/Dockerfile | 2 | ||||
-rw-r--r-- | packages/testnet-faucets/gulpfile.js | 6 | ||||
-rw-r--r-- | packages/testnet-faucets/package.json | 4 |
4 files changed, 8 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore index 18c3a0fb9..5d0b845ce 100644 --- a/.gitignore +++ b/.gitignore @@ -70,6 +70,8 @@ TODO.md packages/website/public/bundle* packages/react-docs/example/public/bundle* +# server cli +packages/testnet-faucets/server/ # generated contract artifacts/ packages/sol-cov/test/fixtures/artifacts/ diff --git a/packages/testnet-faucets/Dockerfile b/packages/testnet-faucets/Dockerfile index bd1dcc4a4..198087ba6 100644 --- a/packages/testnet-faucets/Dockerfile +++ b/packages/testnet-faucets/Dockerfile @@ -15,4 +15,4 @@ COPY . . EXPOSE 3000 -CMD ["forever", "./bin/server.js"] +CMD ["forever", "./server/server.js"] diff --git a/packages/testnet-faucets/gulpfile.js b/packages/testnet-faucets/gulpfile.js index 773faf33a..7c4e25e0f 100644 --- a/packages/testnet-faucets/gulpfile.js +++ b/packages/testnet-faucets/gulpfile.js @@ -9,7 +9,7 @@ const config = { target: 'node', entry: [path.join(__dirname, '/src/ts/server.ts')], output: { - path: path.join(__dirname, '/bin'), + path: path.join(__dirname, '/server'), filename: 'server.js', }, devtool: 'source-map', @@ -47,7 +47,7 @@ const config = { modulesDir: path.join(__dirname, '../../node_modules') }), watchOptions: { - ignored: /bin|node_modules|transpiled/ + ignored: /server|node_modules|transpiled/ }, }; @@ -67,7 +67,7 @@ gulp.task('run', ['watch'], function() { execMap: { js: 'node', }, - script: path.join(__dirname, 'bin/server'), + script: path.join(__dirname, 'server/server'), ignore: ['*'], watch: ['foo/'], ext: 'noop', diff --git a/packages/testnet-faucets/package.json b/packages/testnet-faucets/package.json index f00ffad02..c7663fe13 100644 --- a/packages/testnet-faucets/package.json +++ b/packages/testnet-faucets/package.json @@ -8,9 +8,9 @@ "watch": "tsc -w", "build": "node ../../node_modules/gulp/bin/gulp.js build", "dev": "node ../../node_modules/gulp/bin/gulp.js run", - "start": "node ./bin/server.js", + "start": "node ./server/server.js", "lint": "tslint --project .", - "clean": "shx rm -rf bin" + "clean": "shx rm -rf server" }, "author": "Fabio Berger", "license": "Apache-2.0", |