forked from hyperledger/fabric-chaincode-node
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgulpfile.js
More file actions
27 lines (23 loc) · 821 Bytes
/
gulpfile.js
File metadata and controls
27 lines (23 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
*/
const requireDir = require('require-dir');
const gulp = require('gulp');
const runSequence = require('run-sequence');
// Require all tasks in gulp/tasks, including subfolders
requireDir('./build', {recurse: true});
gulp.task('default', ['lint'], function () {
// This will only run if the lint task is successful...
});
// Setup the e2e tests and sequence tests to run in sequence;
// when the control of the tests is in the scripts in this repo we could remove this.
gulp.task('test-e2e', (done) => {
const tasks = ['test-e2e-shim', 'test-fv-shim', 'test-scenario'];
runSequence(...tasks, done);
});
gulp.task('test-devmode-cli', (done) => {
const tasks = ['test-devmode'];
runSequence(...tasks, done);
});