Check-in [8eed3c3bd5]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Further progress on tasks and testing. Building now seems to work fine; errors generated by tsUnit are causing problems with running via gulp.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8eed3c3bd5a10f783d7c292ea1e5f615e251d8e2
User & Date: CrosslandA 2016-10-18 17:38:25
Context
2016-10-19
00:40
Maybe finally working versions of the gulp build tasks? check-in: 1fecb958e1 user: adamc tags: trunk
2016-10-18
17:38
Further progress on tasks and testing. Building now seems to work fine; errors generated by tsUnit are causing problems with running via gulp. check-in: 8eed3c3bd5 user: CrosslandA tags: trunk
00:36
Got tasks running better. Still need to figure out why running the test tasks doesn't work. check-in: ed7b524207 user: adamc tags: trunk
Changes

Changes to gulpfile.js.

32
33
34
35
36
37
38
39
40

41
42
43
44
45
46
      noImplicitAny: true
    }))
    .pipe(ignoreErrors())
    .pipe(gulp.dest('tests/'));
});

gulp.task('run-test', function () {
    exec('node tests\testrun.js', function () {
    console.log("PComb Tests:")

  });
});

gulp.task('build-lib', ['lib']);
gulp.task('test', ['build-lib'])
gulp.task('build-all', ['lib', 'test', 'demo']);







|
|
>




|

32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
      noImplicitAny: true
    }))
    .pipe(ignoreErrors())
    .pipe(gulp.dest('tests/'));
});

gulp.task('run-test', function () {
  exec('node tests\testrun.js', function (err, stdout, stderr) {
    console.log("PComb Tests:");
    console.log(stdout);
  });
});

gulp.task('build-lib', ['lib']);
gulp.task('test', ['build-lib', 'build-test', 'run-test'])
gulp.task('build-all', ['lib', 'test', 'demo']);

Changes to package.json.

6
7
8
9
10
11
12

13
14
15


16
17
18
19
20
21
22
  "directories": {
    "test": "tests"
  },
  "dependencies": {
    "tsunit.external": "^2.0.10"
  },
  "devDependencies": {

    "gulp-exec": "^2.1.2",
    "gulp-ignore-errors": "0.0.4",
    "gulp-sourcemaps": "^2.1.1"


  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}







>


|
>
>







6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
  "directories": {
    "test": "tests"
  },
  "dependencies": {
    "tsunit.external": "^2.0.10"
  },
  "devDependencies": {
    "gulp": "^3.9.1",
    "gulp-exec": "^2.1.2",
    "gulp-ignore-errors": "0.0.4",
    "gulp-sourcemaps": "^2.1.1",
    "gulp-typescript": "^3.0.2",
    "typescript": "^2.0.3"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC"
}