Skip to content

Commit

Permalink
chore: fix moving protos
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunnerLivio committed Apr 11, 2021
1 parent 25a428c commit 1fc793f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 0 additions & 2 deletions tools/gulp/tasks/move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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)));
});

0 comments on commit 1fc793f

Please sign in to comment.