diff --git a/package.json b/package.json index 0a6861699..91e5bc547 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "author": "Livio Brunner", "main": "dist/index.js", "scripts": { - "build": "gulp build", + "build": "gulp build && gulp move:protos", "build:all": "gulp build:all", "build:samples": "gulp install:samples && npm run build && gulp build:samples && gulp test:samples && gulp test:e2e:samples", "clean": "gulp clean", diff --git a/tools/gulp/tasks/move.ts b/tools/gulp/tasks/move.ts index 30a14b8a1..f5dcca402 100644 --- a/tools/gulp/tasks/move.ts +++ b/tools/gulp/tasks/move.ts @@ -2,7 +2,6 @@ import { dest, src, task } from 'gulp'; import { join } from 'path'; import { samplePath, libPath, distPath } from '../config'; import { getDirs } from '../util/task-helpers'; -import { debug } from 'gulp-debug'; /** * Moves the compiled nest files into the `samples/*` dirs. @@ -20,6 +19,5 @@ function move() { task('move', move); task('move:protos', () => { return src(join(libPath, './**/*.proto'), { base: libPath }) - .pipe(debug({ title: 'move:protos' })) .pipe(dest(join(distPath))); });